XSL stands for EXtensible Stylesheet Language, and is a style sheet language for XML documents. From a programmer's point of view, XSLT is a programming language for processing XML data — that is, transforming XML documents. As such, it supports the following:
<xsl:variable name ="totalRecords"> <xsl:for-each select ="/"> <xsl:value-of select ="count(books/book)"/> </xsl:for-each> </xsl:variable>
Access the variable.
<tr> <td colspan="5"> <b>Total No of Record(s):<xsl:value-of select ="$totalRecords"/> </b> </td> </tr>
You can download XSLT compiler click here