HTMLParser with dom4j for Xpath

Misha Koshelev <[email protected]>
Newsgroups gmane.comp.parsers.htmlparser.user
Message-ID <[email protected]>
Dear All:

I have successfully gotten the SAX parser of HTML Parser to work with dom4j so that I can use Xpath expressions with HTMLParser.

I like HTMLParser as it is quite faster than other frameworks.

However, I have two issues:
1) Is it possible, in any way, to change the SAX parser to report _lowercase_ tag names?
2) For some reason, although I get a valid tree in dom4j, I cannot seem to find elements that I can see exist by browsing the tree
using XPath? (for example a TD element with a certain classpath, no matter whether or not I capitalize TD). Anyone used HTMLParser with dom4j
successfully?

Thank you
Misha

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.