Markus Möller - 2007-09-11 09:17:56
Hi all,
there are tags in my xml files which contents run over several lines. For example:
<?xml version="1.0" encoding="iso-8859-1"?>
<demo>
<test>
this is a test
with more than one
line
</test>
</demo>
Now I read the content of the <test>-Tag like this:
$xml_file="demo.xml";
$xml=new XML();
$xml->file_read($xml_file);
$xml->parse();
echo($xml->demo->test->_value);
$xml->demo->test->_value doesn't return the three lines but only the last. Any solutions?
BR
Markus