Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

saleh.hi.62

macrumors member
Original poster
Jul 25, 2011
95
0
Hello guys,

i am using Xpath query for selecting all h1 tags in one webpage, i use LibXml 2.2

i have used these queries :

Code:
//html/body/h1/text()

Code:
//h:h1

but still it does not work!

what is the problem here ?
 
A great program for testing xpath or xsl code is XML Spy. It's a windows program, but they claim it works great in Crossover (Bootcamp is also an option). XmlSpy has a free version, and also trial versions of the paid editions. Crossover has a trial version.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.