[Flashcoders] dumb xml question

2006-04-10 Thread chris
Hi, How can i get the innertext of an xml node of type 1 (without doing toString and stripping the xml tags) in flash mx (not 2004)? nodeValue doesn’t work on type 1 apparently… returns null… TIA, Chris. ___ Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] dumb xml question

2006-04-10 Thread Adrian Lynch
children[0]? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: 10 April 2006 14:31 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] dumb xml question Hi, How can i get the innertext of an xml node of type 1 (without

RE: [Flashcoders] dumb xml question

2006-04-10 Thread Lee McColl-Sylvester
PROTECTED] Sent: 10 April 2006 14:31 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] dumb xml question Hi, How can i get the innertext of an xml node of type 1 (without doing toString and stripping the xml tags) in flash mx (not 2004)? nodeValue doesn't work on type 1 apparently

Re: [Flashcoders] dumb xml question

2006-04-10 Thread coroner
trace, trace and trace again untill you find the right node/childNode... at least that's what i did until i got along with xml... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] dumb xml question

2006-04-10 Thread Lee McColl-Sylvester
Subject: Re: [Flashcoders] dumb xml question trace, trace and trace again untill you find the right node/childNode... at least that's what i did until i got along with xml... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

Re: [Flashcoders] dumb xml question

2006-04-10 Thread Steve Webster
Chris, How can i get the innertext of an xml node of type 1 (without doing toString and stripping the xml tags) in flash mx (not 2004)? nodeValue doesn’t work on type 1 apparently… returns null… Loop through all the child nodes of your node and concatenate the value of the text nodes...

RE: [Flashcoders] dumb xml question

2006-04-10 Thread Lee McColl-Sylvester
Don't you hate it when people don't fully read the question? ;) Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Webster Sent: 10 April 2006 15:05 To: Flashcoders mailing list Subject: Re: [Flashcoders] dumb xml question Chris, How can i

Re: [Flashcoders] dumb xml question

2006-04-10 Thread Michael Bedar
The Text content is always 1 level father than you'd think, so do mynode.firstChild.nodeValue mike On Apr 10, 2006, at 9:30 AM, [EMAIL PROTECTED] wrote: Hi, How can i get the innertext of an xml node of type 1 (without doing toString and stripping the xml tags) in flash mx (not 2004)?