Jump to content

pbac83

Members
  • Posts

    4
  • Joined

  • Last visited

pbac83's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. pbac83

    Xpath query

    Hello, I've the following example xml structure: <news> <new> <newid>3443</newid> <title>Title1</title> <body>Body1 hello everyone</body> <url>/news/tech-3443</url> </new> <new> <newid>3753</newid> <title>Title2</title> <body>Body2 hello everyone</body> <url>/news/social-3753</url> </new> <new> <newid>3113</newid> <title>Title3</title> <body>Body3 hello everyone</body> <url>/news/tech-3113</url> </new> </news> How can write a Xpath query to fetch only nodes with the prefix "/news/tech-" in the "url" field? Many thanks! Piero
×
×
  • Create New...