nlopess Fri Mar 12 10:16:11 2004 EDT
Modified files:
/phpdoc/en/reference/xml reference.xml
Log:
fix #27574
http://cvs.php.net/diff.php/phpdoc/en/reference/xml/reference.xml?r1=1.15&r2=1.16&ty=u
Index: phpdoc/en/reference/xml/reference.xml
diff -u phpdoc/en/reference/xml/reference.xml:1.15
phpdoc/en/reference/xml/reference.xml:1.16
--- phpdoc/en/reference/xml/reference.xml:1.15 Tue Feb 24 03:46:35 2004
+++ phpdoc/en/reference/xml/reference.xml Fri Mar 12 10:16:11 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<reference id="ref.xml">
<title>XML Parser Functions</title>
<titleabbrev>XML</titleabbrev>
@@ -344,16 +344,16 @@
function startElement($parser, $name, $attrs)
{
global $map_array;
- if ($htmltag == $map_array[$name]) {
- echo "<$htmltag>";
+ if (isset($map_array[$name])) {
+ echo "<$map_array[$name]>";
}
}
function endElement($parser, $name)
{
global $map_array;
- if ($htmltag == $map_array[$name]) {
- echo "</$htmltag>";
+ if (isset($map_array[$name])) {
+ echo "</$map_array[$name]>";
}
}