zvonFaqXMLtoHTML_1_00.xsl
- <?xml version="1.0"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:import href=" rootHTMLTemplate_1_00.xsl"/>
- <xsl:import href=" generalTemplates_1_00.xsl"/>
- <xsl:template match="popisnéÚdaje|front">
- <H1><xsl:apply-templates select="název|title"/></H1>
- </xsl:template>
- <xsl:template match="body">
- <xsl:for-each select="FAQentry">
- <HR> <xsl:text> </xsl:text> </HR>
- <xsl:apply-templates select="."/>
- </xsl:for-each>
- </xsl:template>
- <xsl:template match="FAQentry">
- <P><B><xsl:text>Q: </xsl:text>
- <xsl:apply-templates select="question"/></B></P>
- <P><B><xsl:text>A: </xsl:text></B>
- <xsl:apply-templates select="answer"/></P>
- </xsl:template>
- </xsl:stylesheet>