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
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
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
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:
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
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...
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
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)?
8 matches
Mail list logo