Hi there,

How could I append a CDATA statement in an XML object?

For example if I want to get an XML like this:

<simpleChoice identifier="I0001"><![CDATA[hello <em>world</em>]]></simpleChoice>

I've tried things like:

var node:XML = <simpleChoice identifier={identifier}><![CDATA[{choice.text}]]></simpleChoice>

But this way I receive:

<simpleChoice identifier="I0001"><<![CDATA[{ choice.text}]]></simpleChoice> because {choice.text} is not being processed.

How could I do it?

Thanks in advance!
X.
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to