mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixing example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@141210 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c152ca4e5f
commit
08e408b750
1 changed files with 3 additions and 3 deletions
|
@ -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 @@ $map_array = array(
|
|||
|
||||
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>";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue