Patch simplexml-examples-addincludenote for Documentation problem Bug #53186
Patch version 2010-11-05 21:02 UTC
Return to Bug #53186 |
Download this patch
Patch Revisions:
Developer: frozenfire@thefrozenfire.com
Index: en/reference/simplexml/simplexmlelement/getName.xml
===================================================================
--- en/reference/simplexml/simplexmlelement/getName.xml (revision 305106)
+++ en/reference/simplexml/simplexmlelement/getName.xml (working copy)
@@ -30,6 +30,13 @@
<refsect1 role="examples">
&reftitle.examples;
<para>
+ <note>
+ <para>
+ Listed examples may include <literal>example.php</literal>,
+ which refers to the XML string found in the first example
+ of the <link linkend="simplexml.examples-basic">basic usage</link> guide.
+ </para>
+ </note>
<example>
<title>Get XML element names</title>
<programlisting role="php">
Index: en/reference/simplexml/simplexmlelement/construct.xml
===================================================================
--- en/reference/simplexml/simplexmlelement/construct.xml (revision 305106)
+++ en/reference/simplexml/simplexmlelement/construct.xml (working copy)
@@ -101,6 +101,13 @@
<refsect1 role="examples">
&reftitle.examples;
<para>
+ <note>
+ <para>
+ Listed examples may include <literal>example.php</literal>,
+ which refers to the XML string found in the first example
+ of the <link linkend="simplexml.examples-basic">basic usage</link> guide.
+ </para>
+ </note>
<example>
<title>Create a SimpleXMLElement object</title>
<programlisting role="php">
Index: en/reference/simplexml/simplexmlelement/addAttribute.xml
===================================================================
--- en/reference/simplexml/simplexmlelement/addAttribute.xml (revision 305106)
+++ en/reference/simplexml/simplexmlelement/addAttribute.xml (working copy)
@@ -65,6 +65,13 @@
<refsect1 role="examples">
&reftitle.examples;
<para>
+ <note>
+ <para>
+ Listed examples may include <literal>example.php</literal>,
+ which refers to the XML string found in the first example
+ of the <link linkend="simplexml.examples-basic">basic usage</link> guide.
+ </para>
+ </note>
<example>
<title>Add attributes and children to a SimpleXML element</title>
<programlisting role="php">
Index: en/reference/simplexml/simplexmlelement/addChild.xml
===================================================================
--- en/reference/simplexml/simplexmlelement/addChild.xml (revision 305106)
+++ en/reference/simplexml/simplexmlelement/addChild.xml (working copy)
@@ -66,6 +66,13 @@
<refsect1 role="examples">
&reftitle.examples;
<para>
+ <note>
+ <para>
+ Listed examples may include <literal>example.php</literal>,
+ which refers to the XML string found in the first example
+ of the <link linkend="simplexml.examples-basic">basic usage</link> guide.
+ </para>
+ </note>
<example>
<title>Add attributes and children to a SimpleXML element</title>
<programlisting role="php">
|