1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<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" />
<!-- template -->
<xsl:template match="body">
<html><head><link rel="stylesheet" href="gerva.css" type="text/css" /></head>
<body>
<xsl:for-each select="entry">
<xsl:sort select="trans[@lang='en']/tr" order="ascending"/>
<p padding="5px">
<!-- <b><xsl:value-of select="concat(@key,' - ')"/></b> -->
<xsl:apply-templates select="trans[@lang='en']" /> ♦ <xsl:apply-templates select="trans[@lang='br']" />
<xsl:apply-templates select="usg"/> <xsl:apply-templates select="def"/> <xsl:apply-templates select="note"/> <xsl:apply-templates select="eg"/>
</p>
<!--
<xsl:apply-templates /> -->
</xsl:for-each>
</body>
</html>
</xsl:template>
[etc..] |
Partager