You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Benoit Lefevre <be...@effix.fr> on 2001/06/15 11:06:54 UTC

selective DOM object parsing


Hi

     I'd like to parce a DOM Object without taking care of the Text Nodes.
     For exemple somwhere in my code i'd like that when i do :
          aSon = aSon.getNextSibling();
     the call to "getNextSibling()" skip the TextNodes.
     Could you give me an exemple of that kind of use of a
     DOM_Document (if i'm right, the "skiping" functionality is linked to this
     type of nodes).

thanks in advance.

benoit lefevre.



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


RE: selective DOM object parsing

Posted by Erik Rydgren <er...@mandarinen.se>.
It looks like it is a tree walker with filter that you are looking for.

Erik Rydgren
Mandarinen systems AB
Sweden

-----Original Message-----
From: Benoit Lefevre [mailto:benoit.lefevre@effix.fr]
Sent: den 15 juni 2001 11:07
To: xerces-c-dev@xml.apache.org
Subject: selective DOM object parsing




Hi

     I'd like to parce a DOM Object without taking care of the Text Nodes.
     For exemple somwhere in my code i'd like that when i do :
          aSon = aSon.getNextSibling();
     the call to "getNextSibling()" skip the TextNodes.
     Could you give me an exemple of that kind of use of a
     DOM_Document (if i'm right, the "skiping" functionality is linked to
this
     type of nodes).

thanks in advance.

benoit lefevre.



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org