relpipe-data/makra/already.xsl
branchv_0
changeset 241 f71d300205b7
equal deleted inserted replaced
240:d81c623de788 241:f71d300205b7
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <xsl:stylesheet version="2.0"
       
     3 	xmlns="http://www.w3.org/1999/xhtml"
       
     4 	xmlns:h="http://www.w3.org/1999/xhtml"
       
     5 	xmlns:s="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana"
       
     6 	xmlns:k="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/konfigurace"
       
     7 	xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"
       
     8 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
       
     9 	xmlns:fn="http://www.w3.org/2005/xpath-functions"
       
    10 	xmlns:svg="http://www.w3.org/2000/svg"
       
    11 	xmlns:xs="http://www.w3.org/2001/XMLSchema"
       
    12 	exclude-result-prefixes="fn h s k m xs">
       
    13 
       
    14 	<!--
       
    15 	<xsl:template match="m:already">
       
    16 		<span class="already-implemented">
       
    17 			<xsl:apply-templates/>
       
    18 			<xsl:if test="@since">
       
    19 				~ since <xsl:value-of select="@since"/>
       
    20 			</xsl:if>
       
    21 		</span>
       
    22 	</xsl:template>
       
    23 	-->
       
    24 	
       
    25 	<xsl:template match="h:li[@m:since and @m:since ne /s:stránka/m:release/text()]">
       
    26 		<li class="already-implemented">
       
    27 			<xsl:apply-templates/>
       
    28 			~ since <xsl:value-of select="@m:since"/>
       
    29 		</li>
       
    30 	</xsl:template>
       
    31 
       
    32 	<xsl:template match="h:li[@m:since and @m:since eq /s:stránka/m:release/text()]">
       
    33 		<li>
       
    34 			<xsl:apply-templates/>
       
    35 		</li>
       
    36 	</xsl:template>
       
    37 
       
    38 		
       
    39 </xsl:stylesheet>
       
    40