D
D
domanskiy2018-12-18 16:04:10
XML
domanskiy, 2018-12-18 16:04:10

XPATH Query Compare numbers. How to set what parameters would be returned: in case of "false" and "true"?

There is XML. I compare two parameters and if true, I return the third one.
How to make the fourth parameter return in case of "false":
My code
/JOBS[Param1>Param2]/Param3/text()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Farwisdomer, 2018-12-18
@domanskiy

/JOBS[Param1>Param2]/Param3/text() | /JOBS[Param1<=Param2]/Param3/другой

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question