Robert Samuel White wrote:
I am having a hard time understanding one of the features of the xmlBasically, unless you've coded something to deal with them ampersands are the ultimate reserved word in XML. The easiest way to deal with them is to scrub them to   before they go through the XML parser.
parser functions.
If the string I am parsing includes or something similar, it
encounters an error. I've read the docs and I don't understand how to
have the parser process these. Any advice would be great.
The "right" way to deal with them is to define as a valid entity in your DTD and make sure that all XML strings have a DTD when they are fed through the parser.
J Wynia
phpgeek.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php