a very useful example... hehe... *rolls eyes*

Mehdi Achour wrote:
didou           Fri Feb  4 05:45:49 2005 EDT

Modified 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

Reply via email to