Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XPath in groovy

 
Neha Daga
Ranch Hand
Posts: 504
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic