jessej3000
July 9th, 2008, 03:12 AM
Hi,
I have a weird problem with CDATA in my PHP code...
The code goes like this... I query all records into a temporary variable and loop through all of them to create my own xml string.
then save the string into a file (example: file1.xml)
The problem is when I try to examine my xml file "file1.xml" I see one of my CDATA tag... is changed from <![CDATA[]] into <!YCDATA[]]..... or <![CDATA[]] into <![CDATAY]].....
This weird character Y keeps on appearing and it jack up my XML file... anybody have a solution to this... or have encountered the same problem?
Please help....
Thanks
I have a weird problem with CDATA in my PHP code...
The code goes like this... I query all records into a temporary variable and loop through all of them to create my own xml string.
then save the string into a file (example: file1.xml)
The problem is when I try to examine my xml file "file1.xml" I see one of my CDATA tag... is changed from <![CDATA[]] into <!YCDATA[]]..... or <![CDATA[]] into <![CDATAY]].....
This weird character Y keeps on appearing and it jack up my XML file... anybody have a solution to this... or have encountered the same problem?
Please help....
Thanks