Skip to Content
0
Former Member
Aug 28, 2006 at 06:03 PM

XPath on Expression Editor

34 Views

Guys,

we have a message like the following:

<xml>

<order>

<status>0</status>

</order>

<order>

<status>1</status>

</order>

<order>

<status>2</status>

</order>

</xml>

We need to create a routing condition in receiver determination where we need to check if exist a status with value 1.

So, I though of using condition:

If (xml/order[//status=1]) EX

But we need also the negative condition. Since there's no "Not Exist" operator, what should I use?

Does (xml/order[//status!=1]) EX would work?

Thank you and kind regards,

Henrique.