cvs: phpdoc /en/reference/dom/functions dom-domprocessinginstruction-construct.xml
| From: | Mehdi Achour | Date: | Fri, 17 Jun 2005 22:14:14 +0000 |
| Subject: | cvs: phpdoc /en/reference/dom/functions dom-domprocessinginstruction-construct.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969368683@lists.php.net to get a copy of this message | ||
didou Fri Jun 17 18:14:14 2005 EDT
Modified files:
/phpdoc/en/reference/dom/functions
dom-domprocessinginstruction-construct.xml
Log:
put example output in a separate screen and fix it (utf8 not iso)
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domprocessinginstruction-construct.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domprocessinginstruction-construct.xml
diff -u phpdoc/en/reference/dom/functions/dom-domprocessinginstruction-construct.xml:1.1
phpdoc/en/reference/dom/functions/dom-domprocessinginstruction-construct.xml:1.2
--- phpdoc/en/reference/dom/functions/dom-domprocessinginstruction-construct.xml:1.1 Tue Mar 22
05:56:34 2005
+++ phpdoc/en/reference/dom/functions/dom-domprocessinginstruction-construct.xml Fri Jun 17 18:14:13
2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id='function.dom-domprocessinginstruction-construct'>
<refnamediv>
<refname>DOMProcessingInstruction->__construct()</refname>
@@ -61,12 +61,18 @@
$body = $html->appendChild(new DOMElement('body'));
$pinode = new DOMProcessingInstruction('php', 'echo "Hello World";
');
$body->appendChild($pinode);
-echo $dom->saveXML(); /* <?xml version="1.0" encoding="iso-8859-1"?>
-<html><body><?php echo "Hello World"; ?></body></html> */
+echo $dom->saveXML();
?>
]]>
</programlisting>
+ &example.outputs;
+ <screen role="xml">
+<![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+<html><body><?php echo "Hello World"; ?></body></html>
+]]>
+ </screen>
</example>
</para>
</refsect1>