vincent         Sun Sep 28 12:18:15 2003 EDT

  Modified files:              
    /phpdoc/en/reference/xml    reference.xml 
  Log:
  Fixing example
  
  
Index: phpdoc/en/reference/xml/reference.xml
diff -u phpdoc/en/reference/xml/reference.xml:1.10 
phpdoc/en/reference/xml/reference.xml:1.11
--- phpdoc/en/reference/xml/reference.xml:1.10  Tue Jun 17 06:25:52 2003
+++ phpdoc/en/reference/xml/reference.xml       Sun Sep 28 12:18:14 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
  <reference id="ref.xml">
   <title>XML parser functions</title>
   <titleabbrev>XML</titleabbrev>
@@ -341,14 +341,14 @@
 
 function startElement($parser, $name, $attrs) {
     global $map_array;
-    if ($htmltag = $map_array[$name]) {
+    if ($htmltag == $map_array[$name]) {
         print "<$htmltag>";
     }
 }
 
 function endElement($parser, $name) {
     global $map_array;
-    if ($htmltag = $map_array[$name]) {
+    if ($htmltag == $map_array[$name]) {
         print "</$htmltag>";
     }
 }

Reply via email to