selecting h1 tag with Xpath Query problem !

Discussion in 'Mac Programming' started by saleh.hi.62, Dec 5, 2011.

  1. macrumors member

    #1
    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 ?
     
  2. macrumors 65816

    jiminaus

    #2
  3. macrumors regular

    #3
    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.
     

Share This Page