xslt - XSL test for populated field -
Is there a text that I can use to check that a field is populated and the field's display based on the result Toggles?
You can test this kind of existence for the existence of an element:
& lt; Xsl: if test = "/ root / parent / node" & gt; Prints and if only the expression is present then & lt; / Xsl: if & gt;
If you know that the element exists and you still have one value after that, use it:
& lt; Xsl: if test = "string-length (/ root / parent / node)> 0" & gt; Print that expression has a non-empty value & lt; / Xsl: if & gt;
Comments
Post a Comment