Or you might want to use the SAX parser. For efficiently extracting whatever content you need from an entire document, it's hard to beat. I find DOM more useful for constructing and modifying documents.
-----Original Message----- From: Andreas B. Thun [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 5:10 AM To: [EMAIL PROTECTED] Subject: Re: parsing DOM tree: how can I access two different siblings? Jesse Pelton schrieb: > tags. It would be more robust to check the type of each node you encounter > and skip it if you determine that it's text you don't care about. From this I learn that it is better to use the tree walker?! scan every node -> process only the element and attribute nodes I need -> use node names to distinguish between the elements. right? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
