build script: warn if building from data file which was not commited into Mercurial
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">
24 This template should be shortened,
25 if used for dictionaries containing many words.
27 <style type="text/css">
29 border-collapse:collapse;
30 box-shadow: 3px 3px 3px grey;
35 border: 1px solid black;
48 <xsl:for-each select="d:term">
50 <td><xsl:value-of select="@abbreviation"/></td>
51 <td><xsl:value-of select="@completeForm"/></td>
57 <p><xsl:apply-templates select="d:explanation"/></p>
61 <xsl:text>Tags: </xsl:text>
62 <xsl:for-each select="d:tag">
63 <xsl:variable name="tagID" select="text()"/>
64 <xsl:apply-templates/>
66 <xsl:value-of select="$tags/d:tag[@id=$tagID]/@name"/>
68 <xsl:if test="not(position() = last())"><xsl:text>, </xsl:text></xsl:if>