[Htmlparser-user] xpath
Brought to you by:
derrickoswald
From: Kalyan K K. <kal...@gm...> - 2007-01-16 08:26:18
|
I'm trying to implement these two xpath methods in htmlparser. public String getElementXPath(Node element); public Node getElementByXpath(String xpath); xpath will look something like html/body/div/div[2[/div2/ul/li/a[3] The problem I'm facing is , some tags like font,center are not treated as parents. which is clearly mentioned in this thread http://sourceforge.net/mailarchive/message.php?msg_id=15467503 is there any way to include every tag ? Is some implementation of xpath already existing ? Thanks Kalyan |