didou Wed Jul 16 13:24:47 2003 EDT Modified files: /phpdoc/en/reference/xml/functions xml-parse-into-struct.xml Log: structure Index: phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml diff -u phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.4 phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.5 --- phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml:1.4 Fri Jan 3 15:53:01 2003 +++ phpdoc/en/reference/xml/functions/xml-parse-into-struct.xml Wed Jul 16 13:24:47 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/xml.xml, last change in rev 1.11 --> <refentry id="function.xml-parse-into-struct"> <refnamediv> @@ -31,6 +31,7 @@ <informalexample> <programlisting role="php"> <![CDATA[ +<?php $simple = "<para><note>simple note</note></para>"; $p = xml_parser_create(); xml_parse_into_struct($p,$simple,$vals,$index); @@ -39,11 +40,12 @@ print_r($index); echo "\nVals array\n"; print_r($vals); +?> ]]> </programlisting> - </informalexample> - When we run that code, the output will be: - <informalexample> + <para> + When we run that code, the output will be: + </para> <screen> <![CDATA[ Index array
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php