Created
July 3, 2012 08:15
-
-
Save cheongwy/3038428 to your computer and use it in GitHub Desktop.
Simple xsl
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"?> | |
<xsl:stylesheet version = '1.0' | |
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> | |
<xsl:param name="myparam">Not set</xsl:param> | |
<xsl:template match="/root"> | |
<h1> | |
<xsl:value-of select="content"/> | |
</h1> | |
<param><xsl:value-of select="$myparam"/></param> | |
</xsl:template> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment