How to suppress empty tag using xsl
XML / XSL
2
Posts
2
Posters
26
Views
1
Watching
-
Hello, I have a xsl style sheet that transforms xml file.
When one or more of attributes has value, concatenated value becomes data for . However, if all 3 attributes in 'if' are null, it is returning
. How would I modify the 'if' to NOT return tag when it has no value?
-
Hello, I have a xsl style sheet that transforms xml file.
When one or more of attributes has value, concatenated value becomes data for . However, if all 3 attributes in 'if' are null, it is returning
. How would I modify the 'if' to NOT return tag when it has no value?
Use
switch
statement. Create onewhen
for all null.thatraja
Coming soon1 | Coming soon2 | Coming soon3New