git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@153513 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2004-03-12 15:16:11 +00:00
parent 28baa28116
commit f83c11ceea

View file

@ -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 @@ $map_array = array(
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]>";
}
}