blob: f2d0bfb6485f9afa00641b4d2dc0ca8b92666ce8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml"/> <xsl:include href="identity.xsl"/> <xsl:template match="body//links"> <dl> <xsl:apply-templates/> </dl> </xsl:template> <xsl:template match="body//links/link[@href!='']"> <dt><a><xsl:attribute name="href"><xsl:value-of select="@href"/></xsl:attribute> <xsl:copy-of select="./name/node()"/></a> </dt> <dd xml:lang="it"><xsl:copy-of select="./it/node()"/></dd> <dd xml:lang="en"><xsl:copy-of select="./en/node()"/></dd> </xsl:template> <xsl:template match="body//links/link[@href='']"/> </xsl:stylesheet>
|