File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "XPath in groovy" Watch "XPath in groovy" New topic
Author

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.

Thanks


SCJP 1.6 96%
 
 
subject: XPath in groovy
 
Similar Threads
XPathAPI with SVGDocument
Question on the Groovy book
XPath doubt.
XML parentnode read
XPath Question