
December 6th, 2010, 06:26 AM
|
|
Contributing User
|
|
Join Date: Sep 2009
Posts: 58
Time spent in forums: 11 h 17 m 56 sec
Reputation Power: 4
|
|
|
XML 'CDATA' Error
Hi folk,
I m new to XML,
I tried making XML and got error in initial stage because of non-ascii char.
I searched on web and find CDATA to hide the data from parsing.
but this also dont help for me and I am not able to make the XML works.
below is my XML which creates the problem.
XML Code:
Original
- XML Code |
|
|
|
<?xml version="1.0"?> <add> <doc> <field name="postid">342</field> <field name="userid">501</field> <field name="bucketid">3</field> <field name="title"><![CDATA[Flirting with Apple ]]></field> <field name="description"><![CDATA[As the title suggest, I'm kicking around the idea of purchasing an Apple computer. � Models in the the 13" MacBook Air, and the Mac Mini. . � There are some issues I do have. The whole internal battery high tech, but still.... � Anyways, I'd appreciate any feedback/comments on which way I should go. Thanks! � � � � � � ]]></field> </doc> </add>
Please help.
Thanks is advance
|