Thanks, Rakesh. JSoup is already on my radar, as you might've seen here:
http://lukaseder.wordpress.com/2011/08/11/another-fluent-api-joox-porting-jquery-to-java/#comments

Unlike JSoup, jOOX is in the fortunate position of operating directly
on Java's standard DOM API, so XPath is available natively. This made
it easy to integrate XPath for the next milestone:
http://code.google.com/p/joox/issues/detail?id=1

The API looks like this (from http://code.google.com/p/joox/):
// This will use XPath to find books with ID = 1 or ID = 2
Match x5 = $(document).xpath("//book[@id = 1 or @id = 2]");

Cheers
Lukas

2011/8/16 Rakesh Waghela <[email protected]>:
> XPath in JSoup ?
> Something to dig into !
> https://github.com/jhy/jsoup/pull/80
>

Reply via email to