<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="student">
<html>
<body style="margin-left: 50px">
Roll No - <xsl:value-of select="roll"/><br/>
Name - <xsl:value-of select="name"/><br/>
Marks - <xsl:value-of select="marks"/><br/>
Result - <xsl:value-of select="result"/><br/><br/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.