Created
November 7, 2015 10:49
-
-
Save estan/580f9ca97353dd9059b7 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
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="html"/> | |
<xsl:template match="/"> | |
<xsl:apply-templates/> | |
</xsl:template> | |
<xsl:template match="ELECTION/MUNICIPALITY/CONSTITUENCY_MUNICIPALITY/ELECTORAL"> | |
<p><xsl:value-of select="@NAME"/></p> | |
</xsl:template> | |
<xsl:template match="text()"> | |
<xsl:message terminate="no">Text at position <xsl:value-of select="position()"/></xsl:message> | |
</xsl:template> | |
<!-- Suppress all unmatched input --> | |
<xsl:template match="@*|*|/"/> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment