2 Replies Latest reply: Mar 2, 2014 5:05 PM by dvohra21 RSS

XPath Question

JP Newbie
Currently Being Moderated



I have a question regarding XPath. Let's say I have the below XML, I want to get only the first leaf element that has a value of c. I tried to use /tree/branch/leaf[leaf = "c"] but its getting both. any help?










  • Correct Answers - 10 points
  • Helpful Answers - 5 points