1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0"
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:h="http://www.w3.org/1999/xhtml"
5 xmlns:d="https://telco.frantovo.cz/xmlns/dictionary"
6 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7 xmlns:fn="http://www.w3.org/2005/xpath-functions"
8 xmlns:xs="http://www.w3.org/2001/XMLSchema"
9 exclude-result-prefixes="fn h d xs">
14 omit-xml-declaration="yes"/>
16 <xsl:param name="tags"/>
21 <xsl:template match="d:concept">
22 <xsl:for-each select="d:term">
23 <xsl:value-of select="@abbreviation"/>
24 <xsl:if test="normalize-space(@abbreviation) and normalize-space(@completeForm)">: </xsl:if>
25 <xsl:value-of select="@completeForm"/>
26 <xsl:text> </xsl:text>
29 <xsl:for-each select="d:explanation">
30 <xsl:if test="normalize-space(.)">
31 <xsl:text> </xsl:text>
32 <xsl:apply-templates select="."/>
33 <xsl:text> </xsl:text>
38 <xsl:text> </xsl:text>
39 <xsl:text>Tags: </xsl:text>
40 <xsl:for-each select="d:tag">
41 <xsl:variable name="tagID" select="text()"/>
42 <xsl:apply-templates/>
43 <xsl:if test="not(position() = last())"><xsl:text>, </xsl:text></xsl:if>
48 <xsl:template match="d:explanation">
49 <xsl:value-of select="normalize-space()"/>