Add an example ..

# A user was complaining in a note :o


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@178877 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2005-02-04 10:45:48 +00:00
parent 9facd06f8e
commit 65b917d0d2

View file

@ -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