View Full Version : selecting h1 tag with Xpath Query problem !

Dec 5, 2011, 09:38 PM
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 :



but still it does not work!

what is the problem here ?

Dec 6, 2011, 01:10 AM
Go through the XPath tutorial here. http://www.w3schools.com/xpath/.

Show us the libxml code you're using.

Dec 6, 2011, 07:18 AM
A great program for testing xpath or xsl code is XML Spy (http://www.altova.com/xmlspy.html). It's a windows program, but they claim it works great in Crossover (http://www.codeweavers.com/) (Bootcamp is also an option). XmlSpy has a free version, and also trial versions of the paid editions. Crossover has a trial version.