diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-03-08 20:03:35 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-03-08 20:03:35 +0100 |
commit | a28c3789fa5894bb98db7b167867179ede566945 (patch) | |
tree | f8efb8b6edee86f6cb78d1704eb8b43ad8c97927 /xsl | |
parent | db2a83db55f00730d74db3e6481290f9896f4877 (diff) |
Wrote download page and extended ontology and xslt accordingly.
Diffstat (limited to 'xsl')
-rw-r--r-- | xsl/webpage.xsl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xsl/webpage.xsl b/xsl/webpage.xsl index 8efc0a2..309d8a2 100644 --- a/xsl/webpage.xsl +++ b/xsl/webpage.xsl @@ -224,6 +224,18 @@ <xsl:apply-templates select="webpage:*"/> </xsl:template> + <xsl:template match="webpage:code"> + <pre class="code"> + <xsl:apply-templates select="webpage:*"/> + </pre> + </xsl:template> + + <xsl:template match="webpage:inlineCode"> + <xsl:text> </xsl:text><code> + <xsl:apply-templates select="webpage:*"/> + </code><xsl:text> </xsl:text> + </xsl:template> + <!-- Footnotes --> <!-- Adapted from: http://www.microhowto.info/howto/create_a_list_of_numbered_footnotes_using_xslt.html --> <xsl:template match="webpage:footnote"> |