XSL if else condition
We can achieve if else by using below code <xsl:choose> <xsl:when test=”something to test”> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> So here is what I did <h3>System</h3> <xsl:choose> <xsl:when test=”autoIncludeSystem/autoincludesystem_info/@mdate”> <!– if attribute exists–> <p> <dd><table border=”1″> <tbody> <tr> <th>File Name</th> <th>File Size</th> <th>Date</th> <th>Time</th> <th>AM/PM</th> </tr> <xsl:for-each select=”autoIncludeSystem/autoincludesystem_info”> <tr> <td valign=”top” ><xsl:value-of select=”@filename”/></td> <td valign=”top” ><xsl:value-of … Read more