diff options
Diffstat (limited to 'docs/xslt')
-rw-r--r-- | docs/xslt/content.xslt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/xslt/content.xslt b/docs/xslt/content.xslt index 7817700c1..0245ae725 100644 --- a/docs/xslt/content.xslt +++ b/docs/xslt/content.xslt @@ -101,12 +101,32 @@ <xsl:text>)</xsl:text> </xsl:template> + <xsl:template match="link[@url]"> + <a href="{@url}"> + <xsl:apply-templates/> + </a> + </xsl:template> + <xsl:template match="link[@id and not(@doc)]"> <a href="#{@id}"> <xsl:apply-templates/> </a> </xsl:template> + <xsl:template match="link[@doc and not(@id)]"> + + <a href="{substring-before(@doc, '.xml')}.html"> + <xsl:apply-templates/> + </a> + </xsl:template> + + <xsl:template match="link[@id and @doc]"> + + <a href="{substring-before(@doc, '.xml')}.html#{@id}"> + <xsl:apply-templates/> + </a> + </xsl:template> + <xsl:template match="link"> <u> <xsl:apply-templates/> |