cvs: peardoc /ja/package/xml xml-beautifier.xml xml-statistics.xml /ja/package/xml/xml-beautifier example.xml intro.xml options.xml
/ja/package/xml/xml-beautifier/xml-beautifier apiversion.xml formatfile.xml formatstring.xml resetoptions.xml setoption.xml setoptions.xml
xml-beautifier.xml
| From: | Tadashi Jokagi | Date: | Sun, 11 Apr 2004 13:30:29 +0000 |
| Subject: | cvs: peardoc /ja/package/xml xml-beautifier.xml xml-statistics.xml /ja/package/xml/xml-beautifier example.xml intro.xml options.xml /ja/package/xml/xml-beautifier/xml-beautifier apiversion.xml formatfile.xml formatstring.xml resetoptions.xml setoption.xml setoptions.xml xml-beautifier.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3233@lists.php.net to get a copy of this message | ||
elf Sun Apr 11 09:30:29 2004 EDT
Added files:
/peardoc/ja/package/xml xml-beautifier.xml xml-statistics.xml
/peardoc/ja/package/xml/xml-beautifier example.xml intro.xml
options.xml
/peardoc/ja/package/xml/xml-beautifier/xml-beautifier
apiversion.xml
formatfile.xml
formatstring.xml
resetoptions.xml
setoption.xml
setoptions.xml
xml-beautifier.xml
Log:
o added japanese manual.
http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier.xml +++ peardoc/ja/package/xml/xml-beautifier.xml <!-- $Revision --> <!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <sect1 id="package.xml.xml-beautifier"> <title>XML_Beautifier</title> <para> XMLææ¸ããç¾åãããããã±ã¼ã¸ã§ãã ãã®ããã±ã¼ã¸ã¯XMLææ¸ã«æ¹è¡ã åä¸ãããã³ä»ã®ã¬ã¤ã¢ã¦ãè¦ç´ ãå ãã¾ãã ãããã£ã¦ã人éã«ãã£ã¦å®¹æã«èªããã¨ãåºæ¥ãããã«ãªãã¾ãã </para> &package.xml.xml-beautifier.intro; &package.xml.xml-beautifier.example; &package.xml.xml-beautifier.options; &package.xml.xml-beautifier.xml-beautifier.xml-beautifier; &package.xml.xml-beautifier.xml-beautifier.setoption; &package.xml.xml-beautifier.xml-beautifier.setoptions; &package.xml.xml-beautifier.xml-beautifier.resetoptions; &package.xml.xml-beautifier.xml-beautifier.apiversion; &package.xml.xml-beautifier.xml-beautifier.formatfile; &package.xml.xml-beautifier.xml-beautifier.formatstring; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-statistics.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-statistics.xml +++ peardoc/ja/package/xml/xml-statistics.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 --> <sect1 id="package.xml.xml-statistics"> <title>XML_Statistics</title> <para> çµ±è¨çã«XMLææ¸ãåæããããã±ã¼ã¸ã§ãã </para> &package.xml.xml-statistics.intro; &package.xml.xml-statistics.example; &package.xml.xml-statistics.xml-statistics.apiversion; &package.xml.xml-statistics.xml-statistics.analyzefile; &package.xml.xml-statistics.xml-statistics.analyzestring; &package.xml.xml-statistics.xml-statistics.counttag; &package.xml.xml-statistics.xml-statistics.counttagsindepth; &package.xml.xml-statistics.xml-statistics.countpi; &package.xml.xml-statistics.xml-statistics.countexternalentity; &package.xml.xml-statistics.xml-statistics.getmaxdepth; &package.xml.xml-statistics.xml-statistics.countattribute; &package.xml.xml-statistics.xml-statistics.countdatachunks; &package.xml.xml-statistics.xml-statistics.getcdatalength; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/example.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/example.xml +++ peardoc/ja/package/xml/xml-beautifier/example.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.example"> <refnamediv> <refname>ä¾</refname> <refpurpose>XML_Beautifierã®ä½¿ç¨ä¾</refpurpose> </refnamediv> <refsect1 id="package.xml.xml-beautifier.example.example1"> <title>åºæ¬ä¾</title> <para> å®éã«ã²ã©ãæ¸å¼ã®XMLææ¸ãæã£ã¦ããã¨ä»®å®ãã¾ãã </para> <programlisting role="xml"> <![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE page [ <!ENTITY foo SYSTEM "foo.xml"> <!ENTITY bar SYSTEM "bar.xml"> ]> <document title="Current News"> <meta project="none" foo="bar"> <keywords/><description/> <author>Stephan Schmidt</author> <getMetaNav/> </meta> <page label="PHP Application Tools" sublabel="Current News"> <?PHP for($i = 0; $i < count($_GET); $i++) { echo $_GET[$i]."<br>"; } ?> &foo;&bar; <intro> <!-- This Comment has more than one line. --> <introtitle>Welcome to PHP Application Tools & PEAR!</introtitle> <para> If you're new to pat, and would like <!-- This is a comment in a single line that contains an & --> to know what we do here, take a look at <link url= "/about/project.xml"> "About Pat"</link> or check out the <link url="/about/projectsOverview.xml">"projects overview"</link>. Otherwise, you probably know your way around the site already <smiley type="smile"/> </para> </intro> </page> </document> ]]> </programlisting> <para> è¡ãã¹ãã¯XML_Beautifierã使ç¨ãããã¨ã§ã ãªãªã¸ãã«ã®ãã¡ã¤ã«ã®ãã¡ã¤ã«åããã³ æ°ãããã¡ã¤ã«ç¨ã®ãã¡ã¤ã«åãæ¸¡ããã¨ã§ãã </para> <programlisting role="php"> <![CDATA[require_once "XML/Beautifier.php"; $fmt = new XML_Beautifier(); $result = $fmt->formatFile('originalFile.xml', 'beautifiedFile.xml'); if (PEAR::isError($result)) { echo $result->getMessage(); exit(); } echo "File beautified, awaiting orders!<br />"; ]]> </programlisting> <para> ããããã°ããªãã®ææ¸ã¯ããæãã«è¦ãã¾ãã </para> <programlisting role="xml"> <![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE page [ <!ENTITY foo SYSTEM "foo.xml"> <!ENTITY bar SYSTEM "bar.xml"> ]> <document title="Current News"> <meta foo="bar" project="none"> <keywords /> <description /> <author>Stephan Schmidt</author> <getMetaNav /> </meta> <page label="PHP Application Tools" sublabel="Current News"> <?PHP for($i = 0; $i < count($_GET); $i++) { echo $_GET[$i]."<br>"; } ?> &foo; &bar; <intro> <!-- This Comment has more than one line. --> <introtitle>Welcome to PHP Application Tools & PEAR!</introtitle> <para> If you're new to pat, and would like <!-- This is a comment in a single line that contains an & --> to know what we do here, take a look at <link url="/about/project.xml">"About Pat"</link> or check out the <link url="/about/projectsOverview.xml">"projects overview"</link> . Otherwise, you probably know your way around the site already <smiley type="smile" /> </para> </intro> </page> </document> ]]> </programlisting> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/intro.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/intro.xml +++ peardoc/ja/package/xml/xml-beautifier/intro.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.intro"> <refnamediv> <refname>å°å ¥</refname> <refpurpose>XML_Beautifierã®å°å ¥</refpurpose> </refnamediv> <refsect1 id="package.xml.xml-beautifier.intro.refsect1"> <title>XML_Beautifierã®å°å ¥</title> <para> XML_Beautifierã¯ã 人éãXMLææ¸ã容æã«èªããã¨ãåºæ¥ãããã«ãããã¨ãå©ããããã±ã¼ã¸ã§ãã </para> <para> ããã¯æ¹è¡ã»åä¸ãã®è¿½å ãåä¸ã(indent)ã»å±æ§ã½ã¼ãã¨ã¿ã°ã±ã¼ã¹ (è±å¤§ã»å°æå)ã®å¤æãããé·ãã³ã¡ã³ããå«ã¿ã¾ãã ããã¯ã¿ã°ã»æåãã¼ã¿ã»ã³ã¡ã³ãã»XML宣è¨ã» å¦çå½ä»¤ããã³å¤é¨ã®å®æ ãèªèãã ãããã®ãã¼ã¯ã³ããã¾ããã©ã¼ããããããã¨ãåºæ¥ã¾ãã </para> <para> ææ¸ã¯XML_Beautifier_Tokenizerã¯ã©ã¹ããã³expatãã¼ã¶ã使ç¨ãã ãããã®ãã¼ã¯ã³ã¸åå²ãã¾ãã </para> <para> ç¾å¨ãã²ã¨ã¤ã®ã¬ã³ãã©ã ããå©ç¨å¯è½ã§ãã ããããXML_Beautifierããã©ã¤ãã«åºã¥ããã¢ã¼ããã¯ãã£ã¼ã使ç¨ãã¨ã§ã ä»ã®ã¬ã³ãã©(ã·ã³ã¿ãã¯ã¹ã強調ãããããª)ã¯ã¾ããªãå¾ç¶ããã§ãããã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/options.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/options.xml +++ peardoc/ja/package/xml/xml-beautifier/options.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.7 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.options"> <refnamediv> <refname>ãªãã·ã§ã³</refname> <refpurpose>ãã¹ã¦ã®XML_Beautifierãªãã·ã§ã³ã®ä¸è¦§</refpurpose> </refnamediv> <refsect1 id="package.xml.xml-beautifier.options.refsect1"> <title>ãªãã·ã§ã³ã®å°å ¥</title> <para> Options let you influence the beautifiying process. They are passed to the renderer and thus, you have to check, whether the renderer you are using supports the options you want to use. </para> <para> As there currently is only one renderer (Plain) available, you should not worry about this too much. </para> <para> ãªãã·ã§ã³ã¯ã<link linkend="package.xml.xml-beautifier.xml-beautifier.xml-beautifier">XML_Beautifierã®ã³ã³ã¹ãã©ã¯ã¿</link> ã¸ã®é£æ³é åã¨ãã¦æ¸¡ããã¨ãåºæ¥ã¾ãã You may also use <link linkend="package.xml.xml-beautifier.xml-beautifier.setoption"><function>setOption</function></link>, or <link linkend="package.xml.xml-beautifier.xml-beautifier.setoption"><function>setOptions</function></link> to set one or more options after the instance of XML_Beautifier has been created. </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.options.refsect2"> <title>ãã¹ã¦ã®æå¹ãªãªãã·ã§ã³</title> <para> ããã«ã XML_Beautifierã§ãµãã¼ãããããã¹ã¦ã®ãªãã·ã§ã³ã®ä¸è¦§ãããã¾ãã </para> <para> <table> <title>XML_Beautifierãªãã·ã§ã³</title> <tgroup cols="4"> <thead> <row> <entry>ãªãã·ã§ã³</entry> <entry>å¯è½ãªå¤</entry> <entry>ããã©ã«ã</entry> <entry>説æ</entry> </row> </thead> <tbody> <row> <entry>removeLineBreaks</entry> <entry>&true; or &false;</entry> <entry>&true;</entry> <entry>Sets, whether linebreaks should be stripped from cdata sections</entry> </row> <row> <entry>indent</entry> <entry>any string</entry> <entry>" " (4ã¤ã®åè§ç©ºç½)</entry> <entry>The string passed to this option will be used to indent the tags in one level.</entry> </row> <row> <entry>linebreak</entry> <entry>any string</entry> <entry>"\n"</entry> <entry>The string passed to this option will be used for linebreaks You should use "\n" or "\r\n".</entry> </row> <row> <entry>caseFolding</entry> <entry>&true;ã&false;</entry> <entry>&false;</entry> <entry>Disable or enable case folding for tags and attributes</entry> </row> <row> <entry>caseFoldingTo</entry> <entry>"uppercase"ã"lowercase"</entry> <entry>"uppercase"</entry> <entry>Can be used, if <parameter>caseFolding</parameter> is set to &true; to define whether tags and attributes should be converted to upper- or lowercase</entry> </row> <row> <entry>normalizeComments</entry> <entry>&false; or &true;</entry> <entry>&false;</entry> <entry>If set to true, all adjacent whitespaces in an XML comment will be converted to one space. This will convert comments with more than one line to a comment with one line.</entry> </row> <row> <entry>maxCommentLine</entry> <entry>integer</entry> <entry>-1</entry> <entry> ã³ã¡ã³ãè¡ã®æå¤§é·ã§ãã ã³ã¡ã³ãããã®é度ãè¶ããã°ãããã¯èªåçã«ã©ããã³ã°ãããã§ãããã ãã-1ã«ã»ãããããã°ãè¡é·ã¯ç¡å¶éã«ãªãã¾ãã </entry> </row> <row> <entry>multilineTags</entry> <entry>&true;ã &false;</entry> <entry>&false;</entry> <entry>If set to true, a linebreak will be added inside the tags after each attribute and attributes will be indeted.</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.options.example1"> <title>ãªãã·ã§ã³ä¾</title> <simpara> 次ã®ä¾ã¯ãXML_Beautifierã®ããã«ãªãã·ã§ã³ãè¨å®ããæ¹æ³ã®æå¼ãã§ãã </simpara> <example> <title>setOptions()ã¨setOption()ã®ä½¿ç¨ä¾</title> <programlisting role="php"> <![CDATA[require_once "XML/Beautifier.php"; $options = array( "caseFolding" => true, "caseFoldingTo" => "uppercase", "normalizeComments" => true ); $fmt = new XML_Beautifier($options); $result = $fmt->formatFile('originalFile.xml', 'outputFile.xml'); ]]> </programlisting> </example> </refsect1> <refsect1 id="package.xml.xml-beautifier.options.example2"> <title>Options example setting options at a later point</title> <simpara> ã¤ã³ã¹ã¿ã³ã¹ãæ¢ã«ä½æããã¦ããå ´åã æ¬¡ã®ä¾ã¯XML_Beautifierã®ãªãã·ã§ã³ãè¨å®ããæ¹æ³æå¼ãã§ãã </simpara> <example> <title>XML_Beautifierãªãã·ã§ã³</title> <programlisting role="php"> <![CDATA[require_once "XML/Beautifier.php"; $fmt = new XML_Beautifier(); $options = array( "caseFolding" => true, "caseFoldingTo" => "uppercase", "normalizeComments" => true ); $fmt->setOptions($options); $fmt->setOption("indent", "\t"); $result = $fmt->formatFile('originalFile.xml', 'outputFile.xml'); ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/apiversion.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/apiversion.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/apiversion.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.apiversion"> <refnamediv> <refname><function>XML_Beautifier::apiVersion</function></refname> <refpurpose>APIãã¼ã¸ã§ã³ãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>XML_Beautifier::apiVersion</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.apiversion.desc"> &title.desc; <para> XML_Beautifierã®APIãã¼ã¸ã§ã³ãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.apiversion.return"> &title.returns; <para> <emphasis>string</emphasis> Aã®PIãã¼ã¸ã§ã³ãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.apiversion.note"> &title.note; ¬e.canstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatfile.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatfile.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatfile.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.formatfile"> <refnamediv> <refname><function>XML_Beautifier::formatFile</function></refname> <refpurpose>ãã¡ã¤ã«ãç¾åãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>XML_Beautifier::formatFile</function></funcdef> <paramdef>string <parameter> $file</parameter></paramdef> <paramdef>string <parameter> <optional>$newFile = &null;</optional></parameter></paramdef> <paramdef>string <parameter> <optional>$renderer = "Plain"</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatfile.desc"> &title.desc; <para> ãã¡ã¤ã«ãç¾åãã¾ãã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.formatfile.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $file</parameter> - ãªãªã¸ãã«ãã¡ã¤ã«ã®ãã¡ã¤ã«åã§ãã </para> </listitem> <listitem> <para> <parameter>string $newFile</parameter> - ç¾åãããã¡ã¤ã«ã®ãã¡ã¤ã«åã§ãã ãããã¡ã¤ã«ãä¸ããããªãã£ãå ´åã ãã®ã¡ã½ããã¯XMLããã¥ã¡ã³ãã®çµæãè¿ãã§ãããã ãªãªã¸ãã«ãã¡ã¤ã«ã䏿¸ãããã«ã¯ <constant>XML_BEAUTIFIER_OVERWRITE</constant>ãéãã¦ãã ããã </para> </listitem> <listitem> <para> <parameter>string $renderer</parameter> - 使ç¨ããã¬ã³ãã©ã§ãã ç¾å¨ã¯"Plain"XMLã¬ã³ãã©ã®ã¿ä½¿ç¨åºæ¥ã¾ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatfile.return"> &title.returns; <para> <emphasis>mixed</emphasis> ãã¡ã¤ã«ã«æ¸ãè¾¼ã¾ããããXMLææ¸æåååããå ´åã¯trueãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatfile.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatstring.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatstring.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatstring.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.formatstring"> <refnamediv> <refname><function>XML_Beautifier::formatString</function></refname> <refpurpose>æååãç¾åãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>XML_Beautifier::formatString</function></funcdef> <paramdef>string <parameter> $string</parameter></paramdef> <paramdef>string <parameter> <optional>$renderer = "Plain"</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatstring.desc"> &title.desc; <para> XMLæååãç¾åãã¾ãã ãã®ã¡ã½ããã使ãã¨ãããã¾ç¾åããXMLããã¥ã¡ã³ããçæãã¾ãã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.formatstring.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $string</parameter> - XMLææ¸ãå«ãæååã§ãã </para> </listitem> <listitem> <para> <parameter>string $renderer</parameter> - 使ç¨ããã¬ã³ãã©ã§ãã ç¾å¨ã¯"Plain"XMLã¬ã³ãã©ã®ã¿ä½¿ç¨åºæ¥ã¾ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatstring.return"> &title.returns; <para> <emphasis>string</emphasis> ç¾åãããXMLææ¸ã§ãã </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatstring.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/resetoptions.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/resetoptions.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/resetoptions.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.reresetoptions"> <refnamediv> <refname><function>XML_Beautifier::resetOptions</function></refname> <refpurpose>ãªãã·ã§ã³ãããã©ã«ãã«ãªã»ãããã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>XML_Beautifier::resetOptions</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.resetoptions.desc"> &title.desc; <para> ãã¹ã¦ã®ãªãã·ã§ã³ãããã©ã«ãå¤ã«ãªã»ãããã¾ãã </para> <para> ãã詳ããæ å ±ã¯<link linkend="package.xml.xml-beautifier.options">XML_Beautifierãªãã·ã§ã³</link> ãåç §ãã¦ãã ããã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.resetoptions.param"> &title.param; <para>ãã®ã¡ã½ããã¯ãã©ã¡ã¼ã¿ãåä»ãã¾ããã</para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.resetoptions.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.resetoptions.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoption.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoption.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoption.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.setoption"> <refnamediv> <refname><function>XML_Beautifier::setOption</function></refname> <refpurpose>ãªãã·ã§ã³ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>XML_Beautifier::setOption</function></funcdef> <paramdef>string <parameter>$option</parameter></paramdef> <paramdef>mixed <parameter>$value</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoption.desc"> &title.desc; <para> ç¾åéç¨ã®ãªãã·ã§ã³ãè¨å®ãã¾ãã </para> <para> ãã詳ããæ å ±ã¯<link linkend="package.xml.xml-beautifier.options">XML_Beautifierãªãã·ã§ã³</link> ãåç §ãã¦ãã ããã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.setoption.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $option</parameter> - ãªãã·ã§ã³ã®ååã§ãã </para> </listitem> <listitem> <para> <parameter>mixed $value</parameter> - ãªãã·ã§ã³ã®å¤ã§ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoption.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoption.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoptions.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoptions.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoptions.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.setoptions"> <refnamediv> <refname><function>XML_Beautifier::setOptions</function></refname> <refpurpose>ããã¤ãã®ãªãã·ã§ã³ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>XML_Beautifier::setOptions</function></funcdef> <paramdef>array <parameter>$options</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoptions.desc"> &title.desc; <para> ç¾åéç¨ã®ãªãã·ã§ã³ãããã¤ãè¨å®ãã¾ãã </para> <para> ãã詳ããæ å ±ã¯<link linkend="package.xml.xml-beautifier.options">XML_Beautifierãªãã·ã§ã³</link> ãåç §ãã¦ãã ããã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.setoptions.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $options</parameter> - ãªãã·ã§ã³ç¾¤ã®å¤ãå«ã飿³é åã§ã ããã¯ã³ã³ã¹ãã©ã¯ã¿ã«æ¸¡ããã®ã¨ä¼¼ã¦ããã§ãããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoptions.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoptions.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/xml-beautifier.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/xml-beautifier.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/xml-beautifier.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier"> <refnamediv> <refname><function>XML_Beautifier::XML_Beautifier</function></refname> <refpurpose>ã¤ã³ã¹ã¿ã³ã¹ãæ°è¦ä½æãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>XML_Beautifier::XML_Beautifier</function></funcdef> <paramdef>array <parameter> <optional>$options = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier.desc"> &title.desc; <para> XML_Beautifierã®ã¤ã³ã¹ã¿ã³ã¹ãæ°è¦ä½æãã¾ãã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.xml-beautifier.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $options</parameter> - ãªãã·ã§ã³ã¯ç¾åå·¥ç¨ã¸ã®å½±é¿ã«ä½¿ç¨ãã¾ãã ããããã¤ã³ãã³ãæååã ã±ã¼ã¹ãã©ã«ãã£ã³ã°ãå¯è½ããªã©ãè¨å®ããã§ãããã </para> <para> ãã詳ããæ å ±ã¯<link linkend="package.xml.xml-beautifier.options">XML_Beautifierãªãã·ã§ã³</link> ãåç §ãã¦ãã ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier.return"> &title.returns; <para> <emphasis>object</emphasis> XML_Beautifierãªãã¸ã§ã¯ããè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier.xml +++ peardoc/ja/package/xml/xml-beautifier.xml <!-- $Revision --> <!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <sect1 id="package.xml.xml-beautifier"> <title>XML_Beautifier</title> <para> XMLææ¸ããç¾åãããããã±ã¼ã¸ã§ãã ãã®ããã±ã¼ã¸ã¯XMLææ¸ã«æ¹è¡ã åä¸ãããã³ä»ã®ã¬ã¤ã¢ã¦ãè¦ç´ ãå ãã¾ãã ãããã£ã¦ã人éã«ãã£ã¦å®¹æã«èªããã¨ãåºæ¥ãããã«ãªãã¾ãã </para> &package.xml.xml-beautifier.intro; &package.xml.xml-beautifier.example; &package.xml.xml-beautifier.options; &package.xml.xml-beautifier.xml-beautifier.xml-beautifier; &package.xml.xml-beautifier.xml-beautifier.setoption; &package.xml.xml-beautifier.xml-beautifier.setoptions; &package.xml.xml-beautifier.xml-beautifier.resetoptions; &package.xml.xml-beautifier.xml-beautifier.apiversion; &package.xml.xml-beautifier.xml-beautifier.formatfile; &package.xml.xml-beautifier.xml-beautifier.formatstring; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-statistics.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-statistics.xml +++ peardoc/ja/package/xml/xml-statistics.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 --> <sect1 id="package.xml.xml-statistics"> <title>XML_Statistics</title> <para> çµ±è¨çã«XMLææ¸ãåæããããã±ã¼ã¸ã§ãã </para> &package.xml.xml-statistics.intro; &package.xml.xml-statistics.example; &package.xml.xml-statistics.xml-statistics.apiversion; &package.xml.xml-statistics.xml-statistics.analyzefile; &package.xml.xml-statistics.xml-statistics.analyzestring; &package.xml.xml-statistics.xml-statistics.counttag; &package.xml.xml-statistics.xml-statistics.counttagsindepth; &package.xml.xml-statistics.xml-statistics.countpi; &package.xml.xml-statistics.xml-statistics.countexternalentity; &package.xml.xml-statistics.xml-statistics.getmaxdepth; &package.xml.xml-statistics.xml-statistics.countattribute; &package.xml.xml-statistics.xml-statistics.countdatachunks; &package.xml.xml-statistics.xml-statistics.getcdatalength; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/example.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/example.xml +++ peardoc/ja/package/xml/xml-beautifier/example.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.example"> <refnamediv> <refname>ä¾</refname> <refpurpose>XML_Beautifierã®ä½¿ç¨ä¾</refpurpose> </refnamediv> <refsect1 id="package.xml.xml-beautifier.example.example1"> <title>åºæ¬ä¾</title> <para> å®éã«ã²ã©ãæ¸å¼ã®XMLææ¸ãæã£ã¦ããã¨ä»®å®ãã¾ãã </para> <programlisting role="xml"> <![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE page [ <!ENTITY foo SYSTEM "foo.xml"> <!ENTITY bar SYSTEM "bar.xml"> ]> <document title="Current News"> <meta project="none" foo="bar"> <keywords/><description/> <author>Stephan Schmidt</author> <getMetaNav/> </meta> <page label="PHP Application Tools" sublabel="Current News"> <?PHP for($i = 0; $i < count($_GET); $i++) { echo $_GET[$i]."<br>"; } ?> &foo;&bar; <intro> <!-- This Comment has more than one line. --> <introtitle>Welcome to PHP Application Tools & PEAR!</introtitle> <para> If you're new to pat, and would like <!-- This is a comment in a single line that contains an & --> to know what we do here, take a look at <link url= "/about/project.xml"> "About Pat"</link> or check out the <link url="/about/projectsOverview.xml">"projects overview"</link>. Otherwise, you probably know your way around the site already <smiley type="smile"/> </para> </intro> </page> </document> ]]> </programlisting> <para> è¡ãã¹ãã¯XML_Beautifierã使ç¨ãããã¨ã§ã ãªãªã¸ãã«ã®ãã¡ã¤ã«ã®ãã¡ã¤ã«åããã³ æ°ãããã¡ã¤ã«ç¨ã®ãã¡ã¤ã«åãæ¸¡ããã¨ã§ãã </para> <programlisting role="php"> <![CDATA[require_once "XML/Beautifier.php"; $fmt = new XML_Beautifier(); $result = $fmt->formatFile('originalFile.xml', 'beautifiedFile.xml'); if (PEAR::isError($result)) { echo $result->getMessage(); exit(); } echo "File beautified, awaiting orders!<br />"; ]]> </programlisting> <para> ããããã°ããªãã®ææ¸ã¯ããæãã«è¦ãã¾ãã </para> <programlisting role="xml"> <![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE page [ <!ENTITY foo SYSTEM "foo.xml"> <!ENTITY bar SYSTEM "bar.xml"> ]> <document title="Current News"> <meta foo="bar" project="none"> <keywords /> <description /> <author>Stephan Schmidt</author> <getMetaNav /> </meta> <page label="PHP Application Tools" sublabel="Current News"> <?PHP for($i = 0; $i < count($_GET); $i++) { echo $_GET[$i]."<br>"; } ?> &foo; &bar; <intro> <!-- This Comment has more than one line. --> <introtitle>Welcome to PHP Application Tools & PEAR!</introtitle> <para> If you're new to pat, and would like <!-- This is a comment in a single line that contains an & --> to know what we do here, take a look at <link url="/about/project.xml">"About Pat"</link> or check out the <link url="/about/projectsOverview.xml">"projects overview"</link> . Otherwise, you probably know your way around the site already <smiley type="smile" /> </para> </intro> </page> </document> ]]> </programlisting> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/intro.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/intro.xml +++ peardoc/ja/package/xml/xml-beautifier/intro.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.intro"> <refnamediv> <refname>å°å ¥</refname> <refpurpose>XML_Beautifierã®å°å ¥</refpurpose> </refnamediv> <refsect1 id="package.xml.xml-beautifier.intro.refsect1"> <title>XML_Beautifierã®å°å ¥</title> <para> XML_Beautifierã¯ã 人éãXMLææ¸ã容æã«èªããã¨ãåºæ¥ãããã«ãããã¨ãå©ããããã±ã¼ã¸ã§ãã </para> <para> ããã¯æ¹è¡ã»åä¸ãã®è¿½å ãåä¸ã(indent)ã»å±æ§ã½ã¼ãã¨ã¿ã°ã±ã¼ã¹ (è±å¤§ã»å°æå)ã®å¤æãããé·ãã³ã¡ã³ããå«ã¿ã¾ãã ããã¯ã¿ã°ã»æåãã¼ã¿ã»ã³ã¡ã³ãã»XML宣è¨ã» å¦çå½ä»¤ããã³å¤é¨ã®å®æ ãèªèãã ãããã®ãã¼ã¯ã³ããã¾ããã©ã¼ããããããã¨ãåºæ¥ã¾ãã </para> <para> ææ¸ã¯XML_Beautifier_Tokenizerã¯ã©ã¹ããã³expatãã¼ã¶ã使ç¨ãã ãããã®ãã¼ã¯ã³ã¸åå²ãã¾ãã </para> <para> ç¾å¨ãã²ã¨ã¤ã®ã¬ã³ãã©ã ããå©ç¨å¯è½ã§ãã ããããXML_Beautifierããã©ã¤ãã«åºã¥ããã¢ã¼ããã¯ãã£ã¼ã使ç¨ãã¨ã§ã ä»ã®ã¬ã³ãã©(ã·ã³ã¿ãã¯ã¹ã強調ãããããª)ã¯ã¾ããªãå¾ç¶ããã§ãããã </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/options.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/options.xml +++ peardoc/ja/package/xml/xml-beautifier/options.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.7 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.options"> <refnamediv> <refname>ãªãã·ã§ã³</refname> <refpurpose>ãã¹ã¦ã®XML_Beautifierãªãã·ã§ã³ã®ä¸è¦§</refpurpose> </refnamediv> <refsect1 id="package.xml.xml-beautifier.options.refsect1"> <title>ãªãã·ã§ã³ã®å°å ¥</title> <para> Options let you influence the beautifiying process. They are passed to the renderer and thus, you have to check, whether the renderer you are using supports the options you want to use. </para> <para> As there currently is only one renderer (Plain) available, you should not worry about this too much. </para> <para> ãªãã·ã§ã³ã¯ã<link linkend="package.xml.xml-beautifier.xml-beautifier.xml-beautifier">XML_Beautifierã®ã³ã³ã¹ãã©ã¯ã¿</link> ã¸ã®é£æ³é åã¨ãã¦æ¸¡ããã¨ãåºæ¥ã¾ãã You may also use <link linkend="package.xml.xml-beautifier.xml-beautifier.setoption"><function>setOption</function></link>, or <link linkend="package.xml.xml-beautifier.xml-beautifier.setoption"><function>setOptions</function></link> to set one or more options after the instance of XML_Beautifier has been created. </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.options.refsect2"> <title>ãã¹ã¦ã®æå¹ãªãªãã·ã§ã³</title> <para> ããã«ã XML_Beautifierã§ãµãã¼ãããããã¹ã¦ã®ãªãã·ã§ã³ã®ä¸è¦§ãããã¾ãã </para> <para> <table> <title>XML_Beautifierãªãã·ã§ã³</title> <tgroup cols="4"> <thead> <row> <entry>ãªãã·ã§ã³</entry> <entry>å¯è½ãªå¤</entry> <entry>ããã©ã«ã</entry> <entry>説æ</entry> </row> </thead> <tbody> <row> <entry>removeLineBreaks</entry> <entry>&true; or &false;</entry> <entry>&true;</entry> <entry>Sets, whether linebreaks should be stripped from cdata sections</entry> </row> <row> <entry>indent</entry> <entry>any string</entry> <entry>" " (4ã¤ã®åè§ç©ºç½)</entry> <entry>The string passed to this option will be used to indent the tags in one level.</entry> </row> <row> <entry>linebreak</entry> <entry>any string</entry> <entry>"\n"</entry> <entry>The string passed to this option will be used for linebreaks You should use "\n" or "\r\n".</entry> </row> <row> <entry>caseFolding</entry> <entry>&true;ã&false;</entry> <entry>&false;</entry> <entry>Disable or enable case folding for tags and attributes</entry> </row> <row> <entry>caseFoldingTo</entry> <entry>"uppercase"ã"lowercase"</entry> <entry>"uppercase"</entry> <entry>Can be used, if <parameter>caseFolding</parameter> is set to &true; to define whether tags and attributes should be converted to upper- or lowercase</entry> </row> <row> <entry>normalizeComments</entry> <entry>&false; or &true;</entry> <entry>&false;</entry> <entry>If set to true, all adjacent whitespaces in an XML comment will be converted to one space. This will convert comments with more than one line to a comment with one line.</entry> </row> <row> <entry>maxCommentLine</entry> <entry>integer</entry> <entry>-1</entry> <entry> ã³ã¡ã³ãè¡ã®æå¤§é·ã§ãã ã³ã¡ã³ãããã®é度ãè¶ããã°ãããã¯èªåçã«ã©ããã³ã°ãããã§ãããã ãã-1ã«ã»ãããããã°ãè¡é·ã¯ç¡å¶éã«ãªãã¾ãã </entry> </row> <row> <entry>multilineTags</entry> <entry>&true;ã &false;</entry> <entry>&false;</entry> <entry>If set to true, a linebreak will be added inside the tags after each attribute and attributes will be indeted.</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.options.example1"> <title>ãªãã·ã§ã³ä¾</title> <simpara> 次ã®ä¾ã¯ãXML_Beautifierã®ããã«ãªãã·ã§ã³ãè¨å®ããæ¹æ³ã®æå¼ãã§ãã </simpara> <example> <title>setOptions()ã¨setOption()ã®ä½¿ç¨ä¾</title> <programlisting role="php"> <![CDATA[require_once "XML/Beautifier.php"; $options = array( "caseFolding" => true, "caseFoldingTo" => "uppercase", "normalizeComments" => true ); $fmt = new XML_Beautifier($options); $result = $fmt->formatFile('originalFile.xml', 'outputFile.xml'); ]]> </programlisting> </example> </refsect1> <refsect1 id="package.xml.xml-beautifier.options.example2"> <title>Options example setting options at a later point</title> <simpara> ã¤ã³ã¹ã¿ã³ã¹ãæ¢ã«ä½æããã¦ããå ´åã æ¬¡ã®ä¾ã¯XML_Beautifierã®ãªãã·ã§ã³ãè¨å®ããæ¹æ³æå¼ãã§ãã </simpara> <example> <title>XML_Beautifierãªãã·ã§ã³</title> <programlisting role="php"> <![CDATA[require_once "XML/Beautifier.php"; $fmt = new XML_Beautifier(); $options = array( "caseFolding" => true, "caseFoldingTo" => "uppercase", "normalizeComments" => true ); $fmt->setOptions($options); $fmt->setOption("indent", "\t"); $result = $fmt->formatFile('originalFile.xml', 'outputFile.xml'); ]]> </programlisting> </example> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/apiversion.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/apiversion.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/apiversion.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.apiversion"> <refnamediv> <refname><function>XML_Beautifier::apiVersion</function></refname> <refpurpose>APIãã¼ã¸ã§ã³ãè¿ã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>XML_Beautifier::apiVersion</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.apiversion.desc"> &title.desc; <para> XML_Beautifierã®APIãã¼ã¸ã§ã³ãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.apiversion.return"> &title.returns; <para> <emphasis>string</emphasis> Aã®PIãã¼ã¸ã§ã³ãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.apiversion.note"> &title.note; ¬e.canstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatfile.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatfile.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatfile.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.formatfile"> <refnamediv> <refname><function>XML_Beautifier::formatFile</function></refname> <refpurpose>ãã¡ã¤ã«ãç¾åãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>XML_Beautifier::formatFile</function></funcdef> <paramdef>string <parameter> $file</parameter></paramdef> <paramdef>string <parameter> <optional>$newFile = &null;</optional></parameter></paramdef> <paramdef>string <parameter> <optional>$renderer = "Plain"</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatfile.desc"> &title.desc; <para> ãã¡ã¤ã«ãç¾åãã¾ãã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.formatfile.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $file</parameter> - ãªãªã¸ãã«ãã¡ã¤ã«ã®ãã¡ã¤ã«åã§ãã </para> </listitem> <listitem> <para> <parameter>string $newFile</parameter> - ç¾åãããã¡ã¤ã«ã®ãã¡ã¤ã«åã§ãã ãããã¡ã¤ã«ãä¸ããããªãã£ãå ´åã ãã®ã¡ã½ããã¯XMLããã¥ã¡ã³ãã®çµæãè¿ãã§ãããã ãªãªã¸ãã«ãã¡ã¤ã«ã䏿¸ãããã«ã¯ <constant>XML_BEAUTIFIER_OVERWRITE</constant>ãéãã¦ãã ããã </para> </listitem> <listitem> <para> <parameter>string $renderer</parameter> - 使ç¨ããã¬ã³ãã©ã§ãã ç¾å¨ã¯"Plain"XMLã¬ã³ãã©ã®ã¿ä½¿ç¨åºæ¥ã¾ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatfile.return"> &title.returns; <para> <emphasis>mixed</emphasis> ãã¡ã¤ã«ã«æ¸ãè¾¼ã¾ããããXMLææ¸æåååããå ´åã¯trueãè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatfile.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatstring.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatstring.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/formatstring.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.formatstring"> <refnamediv> <refname><function>XML_Beautifier::formatString</function></refname> <refpurpose>æååãç¾åãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>XML_Beautifier::formatString</function></funcdef> <paramdef>string <parameter> $string</parameter></paramdef> <paramdef>string <parameter> <optional>$renderer = "Plain"</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatstring.desc"> &title.desc; <para> XMLæååãç¾åãã¾ãã ãã®ã¡ã½ããã使ãã¨ãããã¾ç¾åããXMLããã¥ã¡ã³ããçæãã¾ãã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.formatstring.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $string</parameter> - XMLææ¸ãå«ãæååã§ãã </para> </listitem> <listitem> <para> <parameter>string $renderer</parameter> - 使ç¨ããã¬ã³ãã©ã§ãã ç¾å¨ã¯"Plain"XMLã¬ã³ãã©ã®ã¿ä½¿ç¨åºæ¥ã¾ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatstring.return"> &title.returns; <para> <emphasis>string</emphasis> ç¾åãããXMLææ¸ã§ãã </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.formatstring.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/resetoptions.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/resetoptions.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/resetoptions.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.reresetoptions"> <refnamediv> <refname><function>XML_Beautifier::resetOptions</function></refname> <refpurpose>ãªãã·ã§ã³ãããã©ã«ãã«ãªã»ãããã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>XML_Beautifier::resetOptions</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.resetoptions.desc"> &title.desc; <para> ãã¹ã¦ã®ãªãã·ã§ã³ãããã©ã«ãå¤ã«ãªã»ãããã¾ãã </para> <para> ãã詳ããæ å ±ã¯<link linkend="package.xml.xml-beautifier.options">XML_Beautifierãªãã·ã§ã³</link> ãåç §ãã¦ãã ããã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.resetoptions.param"> &title.param; <para>ãã®ã¡ã½ããã¯ãã©ã¡ã¼ã¿ãåä»ãã¾ããã</para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.resetoptions.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.resetoptions.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoption.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoption.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoption.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.setoption"> <refnamediv> <refname><function>XML_Beautifier::setOption</function></refname> <refpurpose>ãªãã·ã§ã³ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>XML_Beautifier::setOption</function></funcdef> <paramdef>string <parameter>$option</parameter></paramdef> <paramdef>mixed <parameter>$value</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoption.desc"> &title.desc; <para> ç¾åéç¨ã®ãªãã·ã§ã³ãè¨å®ãã¾ãã </para> <para> ãã詳ããæ å ±ã¯<link linkend="package.xml.xml-beautifier.options">XML_Beautifierãªãã·ã§ã³</link> ãåç §ãã¦ãã ããã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.setoption.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>string $option</parameter> - ãªãã·ã§ã³ã®ååã§ãã </para> </listitem> <listitem> <para> <parameter>mixed $value</parameter> - ãªãã·ã§ã³ã®å¤ã§ãã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoption.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoption.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoptions.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoptions.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/setoptions.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.setoptions"> <refnamediv> <refname><function>XML_Beautifier::setOptions</function></refname> <refpurpose>ããã¤ãã®ãªãã·ã§ã³ãè¨å®ãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>XML_Beautifier::setOptions</function></funcdef> <paramdef>array <parameter>$options</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoptions.desc"> &title.desc; <para> ç¾åéç¨ã®ãªãã·ã§ã³ãããã¤ãè¨å®ãã¾ãã </para> <para> ãã詳ããæ å ±ã¯<link linkend="package.xml.xml-beautifier.options">XML_Beautifierãªãã·ã§ã³</link> ãåç §ãã¦ãã ããã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.setoptions.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $options</parameter> - ãªãã·ã§ã³ç¾¤ã®å¤ãå«ã飿³é åã§ã ããã¯ã³ã³ã¹ãã©ã¯ã¿ã«æ¸¡ããã®ã¨ä¼¼ã¦ããã§ãããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoptions.return"> &title.returns; <para> <emphasis>void</emphasis> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.setoptions.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/peardoc/ja/package/xml/xml-beautifier/xml-beautifier/xml-beautifier.xml?r=1.1&p=1 Index: peardoc/ja/package/xml/xml-beautifier/xml-beautifier/xml-beautifier.xml +++ peardoc/ja/package/xml/xml-beautifier/xml-beautifier/xml-beautifier.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: elf Status: ready --> <refentry id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier"> <refnamediv> <refname><function>XML_Beautifier::XML_Beautifier</function></refname> <refpurpose>ã¤ã³ã¹ã¿ã³ã¹ãæ°è¦ä½æãã</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'XML/Beautifier.php'; </funcsynopsisinfo> <funcprototype> <funcdef>object <function>XML_Beautifier::XML_Beautifier</function></funcdef> <paramdef>array <parameter> <optional>$options = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier.desc"> &title.desc; <para> XML_Beautifierã®ã¤ã³ã¹ã¿ã³ã¹ãæ°è¦ä½æãã¾ãã </para> </refsect1> <refsect1 id="package.default.xml-beautifier.xml-beautifier.xml-beautifier.param"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>array $options</parameter> - ãªãã·ã§ã³ã¯ç¾åå·¥ç¨ã¸ã®å½±é¿ã«ä½¿ç¨ãã¾ãã ããããã¤ã³ãã³ãæååã ã±ã¼ã¹ãã©ã«ãã£ã³ã°ãå¯è½ããªã©ãè¨å®ããã§ãããã </para> <para> ãã詳ããæ å ±ã¯<link linkend="package.xml.xml-beautifier.options">XML_Beautifierãªãã·ã§ã³</link> ãåç §ãã¦ãã ããã </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier.return"> &title.returns; <para> <emphasis>object</emphasis> XML_Beautifierãªãã¸ã§ã¯ããè¿ãã¾ãã </para> </refsect1> <refsect1 id="package.xml.xml-beautifier.xml-beautifier.xml-beautifier.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->