cvs: phpdoc /en/reference/xslt/functions xslt-errno.xml xslt-process.xml xslt-set-base.xml xslt-set-encoding.xml xslt-set-error-handler.xml
xslt-set-log.xml xslt-set-scheme-handler.xml xslt-set-scheme-handlers.xml

From: Date: Sun, 19 Apr 2009 19:27:43 +0000
Subject: cvs: phpdoc /en/reference/xslt/functions xslt-errno.xml xslt-process.xml xslt-set-base.xml xslt-set-encoding.xml xslt-set-error-handler.xml
xslt-set-log.xml xslt-set-scheme-handler.xml xslt-set-scheme-handlers.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3811@lists.php.net to get a copy of this message
yannick Sun Apr 19 19:27:43 2009 UTC Modified files: /phpdoc/en/reference/xslt/functions xslt-set-error-handler.xml xslt-set-scheme-handler.xml xslt-set-log.xml xslt-process.xml xslt-errno.xml xslt-set-base.xml xslt-set-scheme-handlers.xml xslt-set-encoding.xml Log: correct markup

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml diff -u phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml:1.10 phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml:1.11 --- phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml:1.10 Sun Apr 19 17:02:16 2009 +++ phpdoc/en/reference/xslt/functions/xslt-set-error-handler.xml Sun Apr 19 19:27:43 2009 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry xml:id="function.xslt-set-error-handler" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>xslt_set_error_handler</refname> - <refpurpose>Set an error handler for a XSLT processor</refpurpose> + <refpurpose>Set an error handler for a <acronym>XSLT</acronym> processor</refpurpose> </refnamediv> <refsect1 role="description"> @@ -38,7 +38,7 @@ <term><parameter>handler</parameter></term> <listitem> <para> - The user function needs to accept four parameters: the XSLT processor, + The user function needs to accept four parameters: the <acronym>XSLT</acronym> processor, the error level, the error code and an array of messages. The function can be shown as: <methodsynopsis> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xslt/functions/xslt-set-scheme-handler.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/xslt/functions/xslt-set-scheme-handler.xml diff -u phpdoc/en/reference/xslt/functions/xslt-set-scheme-handler.xml:1.5 phpdoc/en/reference/xslt/functions/xslt-set-scheme-handler.xml:1.6 --- phpdoc/en/reference/xslt/functions/xslt-set-scheme-handler.xml:1.5 Wed Jun 20 22:25:38 2007 +++ phpdoc/en/reference/xslt/functions/xslt-set-scheme-handler.xml Sun Apr 19 19:27:43 2009 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry xml:id="function.xslt-set-scheme-handler" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>xslt_set_scheme_handler</refname> - <refpurpose>Set Scheme handlers for a XSLT processor</refpurpose> + <refpurpose>Set Scheme handlers for a <acronym>XSLT</acronym> processor</refpurpose> </refnamediv> <refsect1 role="description"> @@ -27,7 +27,7 @@ <term><parameter>xh</parameter></term> <listitem> <para> - The XSLT processor link identifier, created with + The <acronym>XSLT</acronym> processor link identifier, created with <function>xslt_create</function>. </para> </listitem> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xslt/functions/xslt-set-log.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/xslt/functions/xslt-set-log.xml diff -u phpdoc/en/reference/xslt/functions/xslt-set-log.xml:1.11 phpdoc/en/reference/xslt/functions/xslt-set-log.xml:1.12 --- phpdoc/en/reference/xslt/functions/xslt-set-log.xml:1.11 Wed Jun 20 22:25:38 2007 +++ phpdoc/en/reference/xslt/functions/xslt-set-log.xml Sun Apr 19 19:27:43 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry xml:id="function.xslt-set-log" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>xslt_set_log</refname> @@ -14,11 +14,11 @@ <methodparam choice="opt"><type>mixed</type><parameter>log</parameter></methodparam> </methodsynopsis> <para> - This function allows you to set the file in which you want XSLT log - messages to, XSLT log messages are different than error messages, in + This function allows you to set the file in which you want <acronym>XSLT</acronym> log + messages to, <acronym>XSLT</acronym> log messages are different than error messages, in that log messages are not actually error messages but rather messages - related to the state of the XSLT processor. They are useful for - debugging XSLT, when something goes wrong. + related to the state of the <acronym>XSLT</acronym> processor. They are useful for + debugging <acronym>XSLT</acronym>, when something goes wrong. </para> <para> By default logging is disabled, in order to enable logging you must @@ -70,7 +70,7 @@ &reftitle.examples; <para> <example> - <title>Using the XSLT Logging features</title> + <title>Using the <acronym>XSLT</acronym> Logging features</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xslt/functions/xslt-process.xml?r1=1.21&r2=1.22&diff_format=u Index: phpdoc/en/reference/xslt/functions/xslt-process.xml diff -u phpdoc/en/reference/xslt/functions/xslt-process.xml:1.21 phpdoc/en/reference/xslt/functions/xslt-process.xml:1.22 --- phpdoc/en/reference/xslt/functions/xslt-process.xml:1.21 Wed Jun 20 22:25:38 2007 +++ phpdoc/en/reference/xslt/functions/xslt-process.xml Sun Apr 19 19:27:43 2009 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.21 $ --> +<!-- $Revision: 1.22 $ --> <refentry xml:id="function.xslt-process" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>xslt_process</refname> - <refpurpose>Perform an XSLT transformation</refpurpose> + <refpurpose>Perform an <acronym>XSLT</acronym> transformation</refpurpose> </refnamediv> <refsect1 role="description"> @@ -18,11 +18,11 @@ <methodparam choice="opt"><type>array</type><parameter>parameters</parameter></methodparam> </methodsynopsis> <para> - The <function>xslt_process</function> function is the crux of the XSLT - extension. It allows you to perform an XSLT transformation using + The <function>xslt_process</function> function is the crux of the <acronym>XSLT</acronym> + extension. It allows you to perform an <acronym>XSLT</acronym> transformation using almost any type of input source - the containers. This is accomplished through the use of argument buffers -- a concept taken from the Sablotron - XSLT processor (currently the only XSLT processor this extension supports). + <acronym>XSLT</acronym> processor (currently the only <acronym>XSLT</acronym> processor this extension supports). The input containers default to a filename 'containing' the document to be processed. </para> @@ -36,7 +36,7 @@ <term><parameter>xh</parameter></term> <listitem> <para> - The XSLT processor link identifier, created with + The <acronym>XSLT</acronym> processor link identifier, created with <function>xslt_create</function>. </para> </listitem> @@ -45,7 +45,8 @@ <term><parameter>xmlcontainer</parameter></term> <listitem> <para> - Path to XML file or placeholder for the XML argument. + Path to <acronym>XML</acronym> file or placeholder for the + <acronym>XML</acronym> argument. </para> </listitem> </varlistentry> @@ -53,7 +54,8 @@ <term><parameter>xslcontainer</parameter></term> <listitem> <para> - Path to XSL file or placeholder for the XML argument. + Path to <acronym>XSL</acronym> file or placeholder for the + <acronym>XML</acronym> argument. </para> </listitem> </varlistentry> @@ -83,10 +85,11 @@ <para> An array for any top-level parameters that will be passed to the XSLT document. These parameters can then be accessed within your XSL files - using the &lt;xsl:param name=&quot;parameter_name&quot;&gt; + using the <literal>&lt;xsl:param name=&quot;parameter_name&quot;&gt;</literal> instruction. The parameters must be UTF-8 encoded and their values will be interpreted as strings by the <productname>Sablotron</productname> processor. - In other words - you cannot pass node-sets as parameters to the XSLT document. + In other words - you cannot pass <literal>node-sets</literal> as parameters to + the <acronym>XSLT</acronym> document. </para> </listitem> </varlistentry> @@ -139,13 +142,13 @@ <para> The simplest type of transformation with the <function>xslt_process</function> function is the transformation of an - XML file with an XSLT file, placing the result in a third file containing - the new XML (or HTML) document. Doing this with sablotron is really - quite easy... + <acronym>XML</acronym> file with an <acronym>XSLT</acronym> file, placing the result + in a third file containing the new <acronym>XML</acronym> (or HTML) document. Doing + this with <productname>Sablotron</productname> is really quite easy... </para> <example> - <title>Using the <function>xslt_process</function> to transform an XML - file and a XSL file to a new XML file</title> + <title>Using the <function>xslt_process</function> to transform an <acronym>XML</acronym> + file and a <acronym>XSL</acronym> file to a new <acronym>XML</acronym> file</title> <programlisting role="php"> <![CDATA[ <?php @@ -176,13 +179,13 @@ While this functionality is great, many times, especially in a web environment, you want to be able to print out your results directly. Therefore, if you omit the third argument to the <function>xslt_process</function> function (or provide a NULL value for the argument), it - will automatically return the value of the XSLT transformation, instead of writing it to a + will automatically return the value of the <acronym>XSLT</acronym> transformation, instead of writing it to a file... </para> <para> <example> - <title>Using the <function>xslt_process</function> to transform an XML file and a XSL file - to a variable containing the resulting XML data</title> + <title>Using the <function>xslt_process</function> to transform an <acronym>XML</acronym> file + and a <acronym>XSL</acronym> file to a variable containing the resulting XML data</title> <programlisting role="php"> <![CDATA[ <?php @@ -213,20 +216,20 @@ </para> <para> The above two cases are the two simplest cases there are when it comes to XSLT transformation - and I'd dare say that they are the most common cases, however, sometimes you get your XML and - XSLT code from external sources, such as a database or a socket. In these cases you'll have - the XML and/or XSLT data in a variable -- and in production applications the overhead of dumping - these to file may be too much. This is where XSLT's &quot;argument&quot; syntax, comes to the - rescue. Instead of files as the XML and XSLT arguments to the <function>xslt_process</function> + and I'd dare say that they are the most common cases, however, sometimes you get your <acronym>XML</acronym> and + <acronym>XSLT</acronym> code from external sources, such as a database or a socket. In these cases you'll have + the <acronym>XML</acronym> and/or <acronym>XSLT</acronym> data in a variable -- and in production applications the overhead of dumping + these to file may be too much. This is where <acronym>XSLT</acronym>'s &quot;argument&quot; syntax, comes to the + rescue. Instead of files as the <acronym>XML</acronym> and <acronym>XSLT</acronym> arguments to the <function>xslt_process</function> function, you can specify &quot;argument place holders&quot; which are then substituted by values given in the arguments array (5th parameter to the <function>xslt_process</function> function). - The following is an example of processing XML and XSLT into a result variable without the use + The following is an example of processing <acronym>XML</acronym> and <acronym>XSLT</acronym> into a result variable without the use of files at all. </para> <para> <example> - <title>Using the <function>xslt_process</function> to transform a variable containing XML data - and a variable containing XSL data into a variable containing the resulting XML data</title> + <title>Using the <function>xslt_process</function> to transform a variable containing <acronym>XML</acronym> data + and a variable containing <acronym>XSL</acronym> data into a variable containing the resulting <acronym>XML</acronym> data</title> <programlisting role="php"> <![CDATA[ <?php http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xslt/functions/xslt-errno.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/xslt/functions/xslt-errno.xml diff -u phpdoc/en/reference/xslt/functions/xslt-errno.xml:1.9 phpdoc/en/reference/xslt/functions/xslt-errno.xml:1.10 --- phpdoc/en/reference/xslt/functions/xslt-errno.xml:1.9 Wed Jun 20 22:25:38 2007 +++ phpdoc/en/reference/xslt/functions/xslt-errno.xml Sun Apr 19 19:27:43 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry xml:id="function.xslt-errno" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>xslt_errno</refname> @@ -14,7 +14,7 @@ </methodsynopsis> <para> Returns an error code describing the last error that occurred on the - passed XSLT processor. + passed <acronym>XSLT</acronym> processor. </para> </refsect1> @@ -26,7 +26,7 @@ <term><parameter>xh</parameter></term> <listitem> <para> - The XSLT processor link identifier, created with + The <acronym>XSLT</acronym> processor link identifier, created with <function>xslt_create</function>. </para> </listitem> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xslt/functions/xslt-set-base.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/xslt/functions/xslt-set-base.xml diff -u phpdoc/en/reference/xslt/functions/xslt-set-base.xml:1.8 phpdoc/en/reference/xslt/functions/xslt-set-base.xml:1.9 --- phpdoc/en/reference/xslt/functions/xslt-set-base.xml:1.8 Wed Jun 20 22:25:38 2007 +++ phpdoc/en/reference/xslt/functions/xslt-set-base.xml Sun Apr 19 19:27:43 2009 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry xml:id="function.xslt-set-base" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>xslt_set_base</refname> - <refpurpose>Set the base URI for all XSLT transformations</refpurpose> + <refpurpose>Set the base URI for all <acronym>XSLT</acronym> transformations</refpurpose> </refnamediv> <refsect1 role="description"> @@ -14,10 +14,10 @@ <methodparam><type>string</type><parameter>uri</parameter></methodparam> </methodsynopsis> <para> - Sets the base URI for all XSLT transformations, the base URI is used + Sets the base URI for all <acronym>XSLT</acronym> transformations, the base URI is used with Xpath instructions to resolve document() and other commands which - access external resources. It is also used to resolve URIs for the &lt;xsl:include&gt; - and &lt;xsl:import&gt; elements. + access external resources. It is also used to resolve URIs for the + <literal>&lt;xsl:include&gt;</literal> and <literal>&lt;xsl:import&gt;</literal> elements. </para> </refsect1> @@ -29,7 +29,7 @@ <term><parameter>xh</parameter></term> <listitem> <para> - The XSLT processor link identifier, created with + The <acronym>XSLT</acronym> processor link identifier, created with <function>xslt_create</function>. </para> </listitem> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xslt/functions/xslt-set-scheme-handlers.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/xslt/functions/xslt-set-scheme-handlers.xml diff -u phpdoc/en/reference/xslt/functions/xslt-set-scheme-handlers.xml:1.7 phpdoc/en/reference/xslt/functions/xslt-set-scheme-handlers.xml:1.8 --- phpdoc/en/reference/xslt/functions/xslt-set-scheme-handlers.xml:1.7 Mon Dec 31 02:09:04 2007 +++ phpdoc/en/reference/xslt/functions/xslt-set-scheme-handlers.xml Sun Apr 19 19:27:43 2009 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry xml:id='function.xslt-set-scheme-handlers' xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>xslt_set_scheme_handlers</refname> - <refpurpose>Set the scheme handlers for the XSLT processor</refpurpose> + <refpurpose>Set the scheme handlers for the <acronym>XSLT</acronym> processor</refpurpose> </refnamediv> <refsect1 role="description"> @@ -26,7 +26,7 @@ <term><parameter>xh</parameter></term> <listitem> <para> - The XSLT processor link identifier, created with + The <acronym>XSLT</acronym> processor link identifier, created with <function>xslt_create</function>. </para> </listitem> @@ -35,17 +35,19 @@ <term><parameter>handlers</parameter></term> <listitem> <para> - An array with the following keys: "get_all", "open", "get", "put", - and "close". + An array with the following keys: <literal>"get_all"</literal>, + <literal>"open"</literal>, <literal>"get"</literal>, <literal>"put"</literal>, + and <literal>"close"</literal>. </para> <para> Every entry must be a function name or an array in the following - format: array($obj, "method"). + format: <literal>array($obj, "method")</literal>. </para> <para> Note that the given array does not need to contain all of the different scheme handler elements (although it can), but it only needs - to conform to the "handler" =&gt; "function" format described above. + to conform to the <literal>"handler" =&gt; "fonction"</literal> format + described above. </para> <para> Each of the individual scheme handler functions called are in the http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xslt/functions/xslt-set-encoding.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/xslt/functions/xslt-set-encoding.xml diff -u phpdoc/en/reference/xslt/functions/xslt-set-encoding.xml:1.6 phpdoc/en/reference/xslt/functions/xslt-set-encoding.xml:1.7 --- phpdoc/en/reference/xslt/functions/xslt-set-encoding.xml:1.6 Wed Jun 20 22:25:38 2007 +++ phpdoc/en/reference/xslt/functions/xslt-set-encoding.xml Sun Apr 19 19:27:43 2009 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry xml:id="function.xslt-set-encoding" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>xslt_set_encoding</refname> - <refpurpose>Set the encoding for the parsing of XML documents</refpurpose> + <refpurpose>Set the encoding for the parsing of <acronym>XML</acronym> documents</refpurpose> </refnamediv> <refsect1 role="description"> @@ -14,8 +14,8 @@ <methodparam><type>string</type><parameter>encoding</parameter></methodparam> </methodsynopsis> <para> - Set the output encoding for the XSLT transformations. When using the - <productname>Sablotron</productname> backend, this option is only + Set the output encoding for the <acronym>XSLT</acronym>. transformations. + When using the <productname>Sablotron</productname> backend, this option is only available when you compile <productname>Sablotron</productname> with encoding support. </para> @@ -29,7 +29,7 @@ <term><parameter>xh</parameter></term> <listitem> <para> - The XSLT processor link identifier, created with + The <acronym>XSLT</acronym> processor link identifier, created with <function>xslt_create</function>. </para> </listitem>
« previous php.doc.cvs (#3811) next »