Re: What is #text??
From: Dave (dave5398_at_btinternet.com)
Date: 10/06/04
- Next message: Randy Webb: "Re: suspend the code execution for specified period of time?"
- Previous message: Dave: "Re: Problem getting function to work"
- In reply to: Daniel Kirsch: "Re: What is #text??"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 6 Oct 2004 18:18:23 +0100
"Daniel Kirsch" <Iwillnotread_daniel@gmx.de> wrote in message
news:ck177c$j1o$00$2@news.t-online.com...
> Dave wrote:
> > For text nodes, the nodeName
> > actually displays "#text" while nodeValue is null.
>
> nodeValue should be the text of that textnode. If no text is defined for
> that node, the value should be not null but an empty string ("") - which
> sometimes makes a difference :-)
>
> Daniel
Apologies, you are correct. nodeValue does indeed display the actual text,
while nodeName displays #text.
- Next message: Randy Webb: "Re: suspend the code execution for specified period of time?"
- Previous message: Dave: "Re: Problem getting function to work"
- In reply to: Daniel Kirsch: "Re: What is #text??"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|