Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9236

xpath condition not working for determining receivers

$
0
0

hello all

 

am writing a xpath expression for a simple structure

 

<doc>

   <status>

   <id>

</doc>

 

status is attribute field.and will have value 'error' and some other value for no error. I want to choose one receiver if error and other receiver if no error

 

so I wrote an xpath expression

 

/Doc[@status='Error']   EX    --> Error receiver

 

count(/Doc[@status='Error']) = '0'   --> no error receiver

 

it was working couple of days ago but suddenly stopped working

 

whats going on? thx

 

mike


Viewing all articles
Browse latest Browse all 9236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>