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 Erik Rydgren <er...@mandarinen.se> on 2002/03/11 16:43:33 UTC

RE: select all nodes

Sounds like you should use DOM_Element::getElementsByTagName(const
DOMString& name) method.
If you need more then that then take a look at the Xalan XPath
implementation at www.apache.org.
Regards

Erik Rydgren
Mandarinen systems AB
Sweden

  -----Original Message-----
  From: pankaj bavishi [mailto:pb_india@hotmail.com]
  Sent: den 11 mars 2002 16:32
  To: xerces-c-dev@xml.apache.org
  Subject: select all nodes


  Hello,

  I need to select all nodes matching a pattern or string in the document
using DOM parser.

  How can I do this?

  In MSXML you can use something like:

  Node->selectNodes("Hello");

  Please help.




----------------------------------------------------------------------------
--
  Get your FREE download of MSN Explorer at http://explorer.msn.com.
  --------------------------------------------------------------------- To
unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org For additional
commands, e-mail: xerces-c-dev-help@xml.apache.org