Hi, In our application XML results are rendered in to an HTML table by apply XSL style sheet. In one of the HTML column (<TD>) we display file names in another table format. <td align="left"><table><xsl:for-each select="./ReportAttribute"><tr><td><xsl:value-of select="@AttrValue"/> </td></tr></xsl:for-each></table></td> The problem here is when there are no files, the table is rendered some thing like this <TD> <table /> </TD> which is completely distorting our HTML output. Has any one faced this issue earlier ? Earlier we were using XSLTranform.Tranform() function which used to render properly. But since XSLTransform is deprecated we started using XSLCompiledTransform resulting this rendering issue. can any one post a work around for this. thanks Guruteja
↧
XSL Template not rendering HTML table properly
↧