Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. foddski

    xpath query

    Hi, I need to find the parent attribute of a node, if anyone can help <uniquenode> <parent att="abc"> <child>foo</child> <child>bar</child> </parent> <parent att="def"> <child>foo1</child> <child>bar1</child> </parent> </uniquenode> If child = foo1 parent['att']=def so far i...
  2. foddski

    attributes

    Many thanks
  3. foddski

    attributes

    Hi I'm struggling to get to the child nodes within a parent with a specific attribute. I want to do this $word=$xml->xpath("//page[@name='$page']")->word; but can't. where $page is 'http://www.domain.co.uk' the xml file has the format <?xml version="1.0" encoding="UTF-8"?> <keywords> <page...

Part and Inventory Search

Back
Top