on 08-28-2006 7:03 PM
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.
Problem solved.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Problem solved.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
<i>Does (xml/order[//status!=1]) EX would work?</i>
>>Yeah, did you try ?
Have a look into this blog-
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.