PDA

View Full Version : [xml] how to embed html in xml



colag
January 2nd, 2005, 09:57 AM
i wish to use xml for a flash news system. but i am unsure as how to include html tags in the xml. eg:
<xml>
<news title="Happy New Year" date="01-01-2005">
</xml>
how do i wrap Happy New Year in an a tag and make it a link?
any suggestions will be greatly appreciated.
Thanks in advance.

CyanBlue
January 2nd, 2005, 11:06 AM
Howdy... :)

I think what you are looking for is called CDATA... Basically your tagged text will be wrapped in the CDATA... Search around... :)

colag
January 3rd, 2005, 06:20 AM
Howdy... :)

I think what you are looking for is called CDATA... Basically your tagged text will be wrapped in the CDATA... Search around... :)

hi,
thanks for the info - i looked around at a few online resources and you were spot on with CDATA. i can now achieve what i need with this knowledge
thanks again,
colin