D
D
darzet2011-06-24 15:57:02
XPath
darzet, 2011-06-24 15:57:02

XPath2 question

There are two elements
obxLevel
obx
obxType >Result< /obxType
/obx
/obxLevel
obxLevel
obx
obxTypeResult /obxType
/obx
/obxLevel
I need to specify in the condition that I need to perform actions not for the first element, but for the second.
This path calls them both =)
obxLevel/obx/obxType[text()='Result'][1]
I don't understand something on Friday =(
Please help =)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
darzet, 2011-06-24
@darzet

obxLevel[1]/obx/obxType[text()='Result']

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question