Created
December 4, 2014 18:12
-
-
Save johnpuddephatt/69d6b25967f945c02aa2 to your computer and use it in GitHub Desktop.
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
<data> | |
<language>DE</language> | |
</data> |
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
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
<xsl:output method="xml" indent="yes" /> | |
<xsl:template match="data"> | |
<input type="submit"> | |
<xsl:choose> | |
<xsl:when test="language = 'EN'"> | |
<xsl:attribute name="value">Submit</xsl:attribute> | |
</xsl:when> | |
<xsl:when test="language = 'DE'"> | |
<xsl:attribute name="value">Einreichen</xsl:attribute> | |
</xsl:when> | |
</xsl:choose> | |
</input> | |
</xsl:template> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment