>when I give Node.getNodeName() , I get "#text" as the output instead of
>"TAGNAME" as the output.
>
><TAGNAME>VALUE</TAGNAME> 

Then you're accessing the wrong node. #text is the correct node name for a 
Text node. Check your DOM navigation. Remember that whitespace (newlines 
and indentation) will usually show up as text nodes, so the first child of 
an element is not necessarily the first contained element.

______________________________________
Joe Kesselman  / IBM Research

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to