šablona/stránka.xsl
changeset 37 2e4e7891a2f7
parent 36 5be21d1ef5f8
child 40 487f13126b62
equal deleted inserted replaced
36:5be21d1ef5f8 37:2e4e7891a2f7
   167 			<xsl:otherwise>
   167 			<xsl:otherwise>
   168 				<xsl:message terminate="yes">Při vytváření diagramu došlo k chybě.</xsl:message>
   168 				<xsl:message terminate="yes">Při vytváření diagramu došlo k chybě.</xsl:message>
   169 			</xsl:otherwise>
   169 			</xsl:otherwise>
   170     	</xsl:choose>
   170     	</xsl:choose>
   171     </xsl:template>
   171     </xsl:template>
       
   172     
       
   173     <!--
       
   174     	Makro pro Wiki syntaxi
       
   175     -->
       
   176     <xsl:template match="m:wiki">
       
   177     	<xsl:variable name="wikiXHTML" select="j:formátujWiki(text(), @syntaxe)"/>
       
   178     	<xsl:choose>
       
   179 			<xsl:when test="$wikiXHTML">
       
   180 				<xsl:value-of select="$wikiXHTML" disable-output-escaping="yes"/>
       
   181 			</xsl:when>
       
   182 			<xsl:otherwise>
       
   183 				<xsl:message terminate="yes">Při zpracování wiki syntaxe došlo k chybě.</xsl:message>
       
   184 			</xsl:otherwise>
       
   185 		</xsl:choose>
       
   186     </xsl:template>
   172 
   187 
   173 </xsl:stylesheet>
   188 </xsl:stylesheet>