From: <bob...@us...> - 2007-01-06 18:25:13
|
Revision: 6470 http://svn.sourceforge.net/docbook/?rev=6470&view=rev Author: bobstayton Date: 2007-01-06 10:25:09 -0800 (Sat, 06 Jan 2007) Log Message: ----------- Add title.markup mode for glossdiv to support info/title. Modified Paths: -------------- trunk/xsl/common/titles.xsl Modified: trunk/xsl/common/titles.xsl =================================================================== --- trunk/xsl/common/titles.xsl 2007-01-06 18:14:40 UTC (rev 6469) +++ trunk/xsl/common/titles.xsl 2007-01-06 18:25:09 UTC (rev 6470) @@ -307,6 +307,21 @@ </xsl:choose> </xsl:template> +<xsl:template match="glossdiv" mode="title.markup"> + <xsl:param name="allow-anchors" select="0"/> + <xsl:variable name="title" select="(info/title|title)[1]"/> + <xsl:choose> + <xsl:when test="$title"> + <xsl:apply-templates select="$title" mode="title.markup"> + <xsl:with-param name="allow-anchors" select="$allow-anchors"/> + </xsl:apply-templates> + </xsl:when> + <xsl:otherwise> + <xsl:message>ERROR: glossdiv missing its required title</xsl:message> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + <xsl:template match="glossentry" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:apply-templates select="glossterm" mode="title.markup"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |