cancel
Showing results for 
Search instead for 
Did you mean: 

xpath expression to check value greater than

Former Member
0 Kudos

Hi,

In Rec det, I need to check a condition if the value greater than 100. I have tried below 2 options:

/Msg/Pro/[value(ITEM_CODE)>999] EX

/Msg/Pro/[ITEM_CODE>999] EX

but it is not working.

Please help me.

Thanks and Regards,

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

See the last example in this blog..

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

Former Member
0 Kudos

Hi, Try this


/Msg/Pro[ITEM_CODE > 999] EX

Regards

Ramg

GabrielSagaya
Active Contributor
0 Kudos

Try to use

/Msg/Pro/ITEM_CODE[[ > 100]] EX

http://www.tizag.com/xmlTutorial/xpathpredicate.php