NYCPHP Meetup

NYPHP.org

[nycphp-talk] Well-formed Xml

Sajith A sajith.ml at gmail.com
Thu Apr 7 02:53:02 EDT 2005


Hello,
I'm trying to create an XML file using php. The file stores urls and
hence might contain & in it. Now if i use htmlentities() to encode the
url and store it, i have to replace & etc while
reading the xml to get back the correct url.. I happened to see that
if <![CDATA[ is used, the parser will ignore the content inside it.
But that will again make it difficult to parse the xml and get the
url...
Have someone solved this some other way?
Thanks and regards
Sajith A



More information about the talk mailing list