I would like to compare the value of a variable in a conditional statement using XPATH
The field contain the sex and we would like to display "Male" when the value is M and "Female" when the value is F
We have used the following conditional statement
/cats/cat/sex = "M" but nothing was displayed when the input is M
We have tried to change the comparison from string to a number.
/cats/cat/sex = 1 works when the value of sex = 1
The document is attached for your reference. Thank you.