Skip to Content
0
Former Member
Apr 29, 2014 at 11:42 PM

Problems with xPATH Conditional Processing

93 Views

Hi experts...

I have much troubles with a conditional processing and the xPATH condition.

Well...I want to call a URL depending the value of row count from SQL call,

but the condition always goes to the otherwhise atom....i prove with the follow

xPATH Conditions:

/*[/vpf:Msg/vpf:Body/vpf:Payload[./@Role='C' and ./@id='atom2']/vpf:ResultSet[./@rowCount='1']]

/*[/vpf:Msg/vpf:Body/vpf:Payload[./@Role='C' and ./@id='atom2']/bfa:ResultSet[./@rowCount='1']]

/*[/vpf:Msg/vpf:Body/vpf:Payload[./@Role='C' and ./@id='atom2']/ResultSet[./@rowCount='1']]

/*[/vpf:Msg/vpf:Body/vpf:Payload[./@id='atom2']/ResultSet[./@rowCount='1']]

/*[/vpf:Msg/vpf:Body/vpf:Payload[./@id='atom2']/ResultSet[./@rowCount]='1']


And everyone fails.


This is the part of my XML:




Thanks for the support.



Regards. Enrique

Attachments

xpath.JPG (31.0 kB)