How can I check if a value is null or empty with XSL?
For example, if categoryName is empty? I\'m using a when choosing construct.
categoryName
For
If a node has no value available in the input xml like below xpath,
string() function converts into empty value. So this works fine:
string(/Node/ErrorCode) =''