Last active
March 7, 2016 10:57
-
-
Save sangimed/0894711e56c063e9bc9a to your computer and use it in GitHub Desktop.
XML to HTML (TP3LW2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- Root element --> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<!-- Output element --> | |
<xsl:output | |
method="html" | |
encoding="UTF-8" | |
doctype-public="-//W3C//DTD HTML 4.01//EN" | |
doctype-system="http://www.w3.org/TR/html4/strict.dtd" | |
indent="yes" /> | |
<xsl:template match="/"> | |
<html> | |
<head> | |
<title><xsl:value-of select="p:stb/title"></xsl:value-of></title > | |
</head> | |
<body> | |
<p>Version :<xsl:value-of select="p:stb/version"></xsl:value-of></p> | |
<p>Date :<xsl:value-of select="p:stb/date"></xsl:value-of></p> | |
<p>Description :<xsl:value-of select="p:stb/description"></xsl:value-of></p> | |
</body> | |
</html> | |
</xsl:template> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment