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.
For
From Empty Element:
To test if the value of a certain node is empty
It depends on what you mean by empty.
not(node())not(string(.))not(normalize-space(.))not(node()[not(self::comment())])