cvs: phpdoc /en/reference/wddx reference.xml
| From: | Damien Seguy | Date: | Fri, 23 May 2003 00:10:58 +0000 |
| Subject: | cvs: phpdoc /en/reference/wddx reference.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969353775@lists.php.net to get a copy of this message | ||
dams Thu May 22 20:10:58 2003 EDT
Modified files:
/phpdoc/en/reference/wddx reference.xml
Log:
Structured examples
Index: phpdoc/en/reference/wddx/reference.xml
diff -u phpdoc/en/reference/wddx/reference.xml:1.5 phpdoc/en/reference/wddx/reference.xml:1.6
--- phpdoc/en/reference/wddx/reference.xml:1.5 Mon Dec 2 07:55:44 2002
+++ phpdoc/en/reference/wddx/reference.xml Thu May 22 20:10:57 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<reference id="ref.wddx">
<title>WDDX Functions</title>
<titleabbrev>WDDX</titleabbrev>
@@ -47,7 +47,7 @@
string key, then it is serialized into a structure, otherwise,
into an array.
<example>
- <title>Serializing a single value</title>
+ <title>Serializing a single value with WDDX</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -55,10 +55,9 @@
?>
]]>
</programlisting>
- </example>
- </para>
- <para>
- This example will produce:
+ <para>
+ This example will produce:
+ </para>
<informalexample>
<programlisting role="php">
<![CDATA[
@@ -66,10 +65,10 @@
<string>PHP to WDDX packet example</string></data></wddxPacket>
]]>
</programlisting>
- </informalexample>
-
+ </example>
+
<example>
- <title>Using incremental packets</title>
+ <title>Using incremental packets with WDDX</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -86,12 +85,11 @@
?>
]]>
</programlisting>
- </example>
- </para>
- <para>
- This example will produce:
- <informalexample>
- <screen>
+ <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'>
@@ -99,7 +97,7 @@
<string>Seattle</string></array></var></struct></data></wddxPacket>
]]>
</screen>
- </informalexample>
+ </example>
</para>
<note>
<para>