This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XPath in groovy
 
Similar Threads
Question on the Groovy book
XPathAPI with SVGDocument
XML parentnode read
XPath Question
XPath doubt.