cvs: phpdoc /en/reference/wddx reference.xml

From: Date: Fri, 23 May 2003 17:47:24 +0000
Subject: cvs: phpdoc /en/reference/wddx reference.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353814@lists.php.net to get a copy of this message
wez Fri May 23 13:47:24 2003 EDT Modified files: /phpdoc/en/reference/wddx reference.xml Log: Fix build Index: phpdoc/en/reference/wddx/reference.xml diff -u phpdoc/en/reference/wddx/reference.xml:1.6 phpdoc/en/reference/wddx/reference.xml:1.7 --- phpdoc/en/reference/wddx/reference.xml:1.6 Thu May 22 20:10:57 2003 +++ phpdoc/en/reference/wddx/reference.xml Fri May 23 13:47:24 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <reference id="ref.wddx"> <title>WDDX Functions</title> <titleabbrev>WDDX</titleabbrev> @@ -46,15 +46,17 @@ serialized into an array or structure. If the first element has string key, then it is serialized into a structure, otherwise, into an array. - <example> - <title>Serializing a single value with WDDX</title> - <programlisting role="php"> + </para> + + <example> + <title>Serializing a single value with WDDX</title> + <programlisting role="php"> <![CDATA[ <?php print wddx_serialize_value("PHP to WDDX packet example", "PHP packet"); ?> ]]> - </programlisting> + </programlisting> <para> This example will produce: </para> @@ -65,11 +67,12 @@ <string>PHP to WDDX packet example</string></data></wddxPacket> ]]> </programlisting> - </example> + </informalexample> + </example> - <example> - <title>Using incremental packets with WDDX</title> - <programlisting role="php"> + <example> + <title>Using incremental packets with WDDX</title> + <programlisting role="php"> <![CDATA[ <?php $pi = 3.1415926; @@ -84,12 +87,12 @@ print $packet; ?> ]]> - </programlisting> - <para> - This example will produce: - </para> - <informalexample> - <screen> + </programlisting> + <para> + This example will produce: + </para> + <informalexample> + <screen> <![CDATA[ <wddxPacket version='1.0'><header comment='PHP'/><data><struct> <var name='pi'><number>3.1415926</number></var><var name='cities'> @@ -97,13 +100,14 @@ <string>Seattle</string></array></var></struct></data></wddxPacket> ]]> </screen> - </example> - </para> - <note> + </informalexample> + </example> + + <note> <para> - If you want to serialize non-ASCII characters you have to set - the appropriate locale before doing so (see - <function>setlocale</function>). + If you want to serialize non-ASCII characters you have to set + the appropriate locale before doing so (see + <function>setlocale</function>). </para> </note> </section>

« previous php.doc (#969353814) next »