File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Groovy and the fly likes XPath in groovy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "XPath in groovy" Watch "XPath in groovy" New topic

XPath in groovy

Neha Daga
Ranch Hand

Joined: Oct 30, 2009
Posts: 504
Hi all,

I am using XPath to scrape html page in a groovy project, I want to list all script tags with 'type' attribute but without 'src' attribute.
How do I do this, when I use 'and' or 'not' I get error about them not being a function.


SCJP 1.6 96%
I agree. Here's the link:
subject: XPath in groovy
It's not a secret anymore!