Re: cvs: phpdoc /en/reference/xsl/functions xsl-xsltprocessor-construct.xml
| From: | Mehdi Achour | Date: | Fri, 04 Feb 2005 11:46:50 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/xsl/functions xsl-xsltprocessor-construct.xml | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969366360@lists.php.net to get a copy of this message | ||
M. Sokolewicz wrote:
a very useful example... hehe... *rolls eyes*I was thinking the same while commiting, but there's already a bunche of example in this reference constructing a new XSLTProcessor. My point was to make a single person happy : http://news.php.net/php.notes/84488 You may want to send this email to him ?
Mehdi Achour wrote:didou Fri Feb 4 05:45:49 2005 EDTModified files: /phpdoc/en/reference/xsl/functions xsl-xsltprocessor-construct.xml Log:Add an example .. # A user was complaining in a note :o http://cvs.php.net/diff.php/phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-construct.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-construct.xml diff -u phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-construct.xml:1.1 phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-construct.xml:1.2 ---phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-construct.xml:1.1 Tue Dec 28 09:11:54 2004 +++ phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-construct.xml Fri Feb 4 05:45:48 2005@@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="function.xsl-xsltprocessor-construct"> <refnamediv> <refname>XSLTProcessor->__construct()</refname> @@ -18,6 +18,23 @@Creates a new <classname>XSLTProcessor</classname> object.</para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example>+ <title>Creating an <classname>XSLTProcessor</classname></title> + <programlisting role="php">+<![CDATA[ +<?php + +$xsl = new XSLTProcessor(); + +?> +]]>+ </programlisting>+ </example> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file