PHP's XML parser doesn't work
| From: | G Schneider | Date: | Fri, 19 Oct 2001 11:45:34 +0000 |
| Subject: | PHP's XML parser doesn't work | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9930@lists.php.net to get a copy of this message | ||
Hi,
I use the PHP XML parser to display various information on a page. I find
that sometimes, the XML parser will cut off the begining of words and
sentances, that are stored in my XML files.
So if I have a list of information like this:
<item>
<name>Instructions To Build A Car</name>
</item>
<item>
<name>Instructions To Bulild A House</name>
</item>
And I get PHP to display the contents of the <name> nodes, it will display
"Instructions To Build A Car" but then it will display "ild A House" -
missing off the first part of the second sentance.
Why is this? It's driving me nuts.
My code is bare-bones PHP XML functions, nothing fancy. And my XML document
is well-formed. Perfect in fact.
- Jefferrs
* e-mail: jefferrs@blueyonder.co.uk
* txt msg: 07855 676 420 (UK only)
* homepage: http://geordiecitizen.co.uk
______________________________________
super cheap .com webhosting - OpenHosting
http://www.openhosting.co.uk?r=GB1500175