Hello!
I've got an XML file that has the following tag:
I parse it with the following handler (simplified a bit):
function start_tag($parser, $name, $attrs)
{
global $text;
if($name == "CUSTOMTEXT")
$text = $attrs['TEXT'];
// more tags here ..
}
When I echo $text in a HTML page, I see a linebreak - just as I
intended.
One of our customers has the script installed on his server and he
doesn't see a linebreak but sees
printed out. He has to write
the tag like this:
Now I've got two questions:
1. Which tag is correct XML?
2. What is the cause of this?
I'm running the script with PHP 4.1.2 and EXPAT Version 1.95.2
Don't know what our customer has running.
With best regards
Gabriel Birke
--
KONTOR4_Neue Medien
Plathnerstraße 5
30175 Hannover
Fax: +49 51184 48 98 99
mailto:birke@kontor4.de
http://www.kontor4.de
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php