Wrong.

This will return the node value of the next sibling of <TagName>.

> -----Original Message-----
> From: Ace Ace [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 20, 2001 3:50 PM
> To: [EMAIL PROTECTED]
> Subject: Sv: Problem with DOMParser
> 
> 
> Hi Cory,
> 
> If your XML looks like this:
> <TagName>TextValue</TagName>
> 
> and
> 
> docElement.getChildNodes().item(i).getNodeName());
> 
> returns TagName
> 
> then
> 
> docElement.getChildNodes().item(i + 1).getNodeValue());
> 
> returns TextValue.
> 
> This is the case for me. Dont really know why but someone else 
> maybe can answer better than me on that.
> 
> Hope this helps.
> 
> // Claes
> 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ____________________________________
> Gratis epost med TJOHOOMAIL
> http://www.tjohoo.se
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to