diff options
Diffstat (limited to 'xhtml-1_1/glossary.xsl')
-rw-r--r-- | xhtml-1_1/glossary.xsl | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/xhtml-1_1/glossary.xsl b/xhtml-1_1/glossary.xsl index 6805deb..ade6ae7 100644 --- a/xhtml-1_1/glossary.xsl +++ b/xhtml-1_1/glossary.xsl @@ -1,10 +1,7 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xlink" version="1.0"> +<?xml version="1.0" encoding="ASCII"?><!--This file was created automatically by html2xhtml--><!--from the HTML stylesheets.--><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xlink" version="1.0"> <!-- ******************************************************************** - $Id: glossary.xsl 9364 2012-05-12 23:43:04Z bobstayton $ + $Id: glossary.xsl 9709 2013-01-22 18:56:09Z bobstayton $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. @@ -283,7 +280,12 @@ GlossEntry ::= </xsl:template> <xsl:template match="glossentry/glossterm"> - <xsl:apply-templates/> + <span> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="anchor"/> + <xsl:apply-templates/> + </span> <xsl:if test="following-sibling::glossterm">, </xsl:if> </xsl:template> @@ -359,6 +361,9 @@ GlossEntry ::= <xsl:template match="glossentry/glossdef"> <dd> + <xsl:apply-templates select="." mode="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:call-template name="anchor"/> <xsl:apply-templates select="*[local-name(.) != 'glossseealso']"/> <xsl:if test="glossseealso"> <p> @@ -590,4 +595,4 @@ GlossEntry ::= <!-- ==================================================================== --> -</xsl:stylesheet> +</xsl:stylesheet>
\ No newline at end of file |