when I transform and xsl stylesheet to convert it to a string empty elements get collapsed
the following <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method = "html"/> <xsl:template match="/"> <table cellpadding="0" cellspacing="0" border="0"><tr><td height="30"></td></tr></table> </xsl:template> </xsl:stylesheet>
becomes this when I transform it to system.out <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method = "html"/> <xsl:template match="/"> <table cellpadding="0" cellspacing="0" border="0"><tr><td height="30"/></tr></table> </xsl:template> </xsl:stylesheet>