diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-web-companion/xmlstyle/isotabexa1.xsl')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-web-companion/xmlstyle/isotabexa1.xsl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/xmlstyle/isotabexa1.xsl b/Master/texmf-dist/doc/latex/latex-web-companion/xmlstyle/isotabexa1.xsl new file mode 100644 index 00000000000..57e2152ba22 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/xmlstyle/isotabexa1.xsl @@ -0,0 +1,20 @@ +<?xml version='1.0' encoding="ISO-8859-1"?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + +<xsl:output method="text" encoding="ISO-8859-1"/> + +<xsl:template match="/countries"> + <xsl:for-each select="country"> + <xsl:sort select="@capital"/> + <xsl:if test="(@capital != '-') and (@capital != ' ')"> + <xsl:value-of select="@capital"/> + <xsl:text> is the capital of </xsl:text> + <xsl:value-of select="@shortname"/> + <xsl:text> (ISO-code </xsl:text> + <xsl:value-of select="@isocountry"/> + <xsl:text>)
</xsl:text><!-- new line --> + </xsl:if> + </xsl:for-each> +</xsl:template> + +</xsl:stylesheet>
\ No newline at end of file |