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 there is a possibility that the element does not exist in the XML I would test both that the element is present and that the string-length is greater than zero: