derick          Tue Jun 17 06:25:52 2003 EDT

  Modified files:              
    /phpdoc/en/reference/xml    reference.xml 
  Log:
  - Add <?php tags
  
  
Index: phpdoc/en/reference/xml/reference.xml
diff -u phpdoc/en/reference/xml/reference.xml:1.9 
phpdoc/en/reference/xml/reference.xml:1.10
--- phpdoc/en/reference/xml/reference.xml:1.9   Tue Mar 11 12:46:31 2003
+++ phpdoc/en/reference/xml/reference.xml       Tue Jun 17 06:25:52 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
  <reference id="ref.xml">
   <title>XML parser functions</title>
   <titleabbrev>XML</titleabbrev>
@@ -278,6 +278,7 @@
        <title>Show XML Element Structure</title>
        <programlisting role="php">
 <![CDATA[
+<?php
 $file = "data.xml";
 $depth = array();
 
@@ -309,6 +310,7 @@
     }
 }
 xml_parser_free($xml_parser);
+?>
 ]]>
        </programlisting>
       </example>
@@ -321,12 +323,15 @@
       <example>
        <title>Map XML to HTML</title>
        <para>
-    This example maps tags in an XML document directly to HTML
-    tags.  Elements not found in the "map array" are ignored.  Of
-    course, this example will only work with a specific XML
-    document type.
-    <programlisting role="php">
+        This example maps tags in an XML document directly to HTML
+        tags.  Elements not found in the "map array" are ignored.  Of
+        course, this example will only work with a specific XML
+        document type.
+       </para>
+       <para>
+        <programlisting role="php">
 <![CDATA[
+<?php
 $file = "data.xml";
 $map_array = array(
     "BOLD"     => "B",
@@ -369,8 +374,9 @@
     }
 }
 xml_parser_free($xml_parser);
+?>
 ]]>
-    </programlisting>
+        </programlisting>
        </para>
       </example>
      </para>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to