php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #53186
Patch simplexml-examples-addincludenote revision 2010-11-05 21:02 UTC by frozenfire at thefrozenfire dot com

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">
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 12:00:01 2026 UTC