Subject:How to avoid creating empty elements in XSLT Author:(Deleted User) Date:14 Sep 2009 11:38 AM
Hi,
if you don't want to add the xsl:if statements you should postprocess the resulting XML with another XSLT stylesheet that strips all the nodes with no content (i.e. an identity transformation with an empty template for the nodes that you know that should be stripped)