Page 1 of 1
Need CDATA removed which has XML output
Posted: Tue Apr 06, 2010 12:33 am
by indian98476
I got a php script here and I want to remove the CDATA fo XML output. What should I do? SInce, I don't have much time to look through, would really appreciate a timely help from your side. Thanks in advance.
Re: Need CDATA removed which has XML output
Posted: Tue Apr 06, 2010 12:39 am
by Christopher
Does the script output XML or does it read XML files?
Re: Need CDATA removed which has XML output
Posted: Tue Apr 06, 2010 12:48 am
by indian98476
when i tried to run the script in my localhost it gives a pop-up to download the script...
Re: Need CDATA removed which has XML output
Posted: Tue Apr 06, 2010 12:50 am
by indian98476
and there is no cdata being mentioned in the script....so how do i check it?
Re: Need CDATA removed which has XML output
Posted: Tue Apr 06, 2010 2:13 am
by indian98476
I got the requirement and fully understood it now only. Here is what I want.
I got a link which is an XML call and output is in XML format
XML Call:
Use this URL to get the ads in XML format.
When I view the source CDATA is added to it. My client wants to parse this XML output with XML parser but since XML parser cant read the CDATA(i read thru 2 get this one...whew...), it just gets skipped.
Now, he wants to remove the CDATA from the generated source file . CAN anyone help me NOW?
Re: Need CDATA removed which has XML output
Posted: Tue Apr 06, 2010 3:41 am
by indian98476
SOLVED....
sorry frnds..
just had to remove CDATA in the output....
Re: Need CDATA removed which has XML output
Posted: Tue Apr 06, 2010 5:20 am
by requinix
indian98476 wrote:I got a php script here and I want to remove the CDATA fo XML output. What should I do?
indian98476 wrote:SOLVED.... just had to remove CDATA in the output....
So the solution to your problem was... the problem itself? Oookay...