Hi,
I need to drop a CDATA html link into this xml where it says DOWNLOAD . Can someone please help me with it? I’ve tried loads of different combinations but it’s not working and it’s killing me!
Thanks in advance!
here is an example for you…
<somenode> <![CDATA[ put your html code or what else here... ]]> </somenode>
Hi, thanks for your reply.
Not sure why my code wasn’t in my post…let me try again…
I’ve tried putting the CDATA code next to description= but it doesn’t work. Where do I need to put it in this code?
Hey! The code won’t show up in my post!
Use pastie.org and post the link to your pastie.
Hmmm…sorry. Like this?
http://pastie.org/268096
you can’t place CDATA in an attribute. It has to be inside of an actual node like Pdesignx has shown.
Ah I see. Triworks have told me I could put a link in there using CDATA . Perhaps I misunderstood.
Thanks for the info – Any ideas what I need to do then?
<images id="1" img="gallery/img2.jpg" thumbnail="gallery/tmb2.jpg" caption="IMAGE 2" description="DOWNLOAD"><![CDATA[Your HTML text goes here]]></images>