mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fix #27574
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@153513 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
28baa28116
commit
f83c11ceea
1 changed files with 5 additions and 5 deletions
|
@ -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]>";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue