>Is there a way of getting pass these type of characters like Tabs,
>Linefeeds,etc etc.

Advance to the next sibling node.

>It would appear that the getNextSibling() function points to the same
>element(most prolly a LineFeed+tab) everytime.

You mean node rather than element. But to answer your question, consider
the following pseudocode:

     Element myProperties=myDoc.getElementByTagName("properties");
     for(Node child=myProperties.getFirstChild;
          child!=null;
          child=child.getNextSibling() )
     {
          if (child.getNodeType()==Node.ELEMENT_NODE)
          {
               // Do whatever's appropriate
          }
          else
          {
               // In your application, you may not care about anything
else.
               // If that's true, just ignore it and move on
          }
     }


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

Reply via email to