>> I managed to get this to work by using <!CDATA[...]]> just as you
>> suggested. I hadn't understood that it needed to go inside each of my
>> xml tags.
>
> Just a clarification--it doesn't need to be inside each of your XML
> tags. Only the ones that contain text you're going to display,
> especially if they have HTML tags like <b> or \n.

Well, to clarify the clarification - you need to use CDATA whenever
you have contents of an element that may contain unescaped XML
metacharacters: <, >, ', ", &. If you don't do this - whether you plan
to display the contents or not - and your element contains a
metacharacter, the XML parser will be unable to parse the file.
Basically, a CDATA block tells the parser to ignore the contents.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to