Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-12 Thread Jim Lafser
needs to store CDATA. Thanks. --- On Wed, 5/11/11, Karl DeSaulniers k...@designdrumm.com wrote: From: Karl DeSaulniers k...@designdrumm.com Subject: Re: [Flashcoders] How do I create a CDATA node using AS2? To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Wednesday, May 11, 2011, 10:25 PM

Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-12 Thread Karl DeSaulniers
maybe?? function go():String { return(!CDATA[+x.toString()+]]); } sry, guessing at this point. Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-12 Thread Mendelsohn, Michael
Jim, I just did something similar, but in AS3, to insert some CDATA into some preexisting xml. var createCDATA:Function = function(cont:String):XML{ return new XML(![CDATA[ + cont + ]]); } var _item:XML = item{createCDATA(some text based content)}/item; - Michael M.

[Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread Jim Lafser
Anyone know how to create a CDATA node when writing XML in AS2?I tried Google. I looked in the books I've got.I tried extending XMLNode.I've had no success. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread Karl DeSaulniers
![CDATA[hello]] On May 11, 2011, at 6:45 PM, Jim Lafser wrote: Anyone know how to create a CDATA node when writing XML in AS2?I tried Google. I looked in the books I've got.I tried extending XMLNode.I've had no success. ___ Flashcoders mailing

Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread jimlaf...@yahoo.com
I am using an xml object and need to have a cdata node written out when I use toString() on the XML object On May 11, 2011, at 7:50 PM, Karl DeSaulniers k...@designdrumm.com wrote: ![CDATA[hello]] On May 11, 2011, at 6:45 PM, Jim Lafser wrote: Anyone know how to create a CDATA node when

Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread Karl DeSaulniers
In the xml node itself, the nodes content wrapped CDATA in the XML or the result of that node wrapped in CDATA in flash? xmlnode id=![CDATA[nodename]] xmlnode or xmlnode id=nodename ![CDATA[noderesult]] xmlnode or var result = ![CDATA[+this.xmlNode.firstchild.childNodes

Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread Dave Watts
In the xml node itself, the nodes content wrapped CDATA in the XML or the result of that node wrapped in CDATA in flash? xmlnode id=![CDATA[nodename]] xmlnode CDATA is not valid for XML attribute values. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/

Re: [Flashcoders] How do I create a CDATA node using AS2?

2011-05-11 Thread Karl DeSaulniers
Ooops, sorry. Minus that one then. :) Karl On May 11, 2011, at 9:35 PM, Dave Watts wrote: In the xml node itself, the nodes content wrapped CDATA in the XML or the result of that node wrapped in CDATA in flash? xmlnode id=![CDATA[nodename]] xmlnode CDATA is not valid for XML attribute