From: <ko...@us...> - 2006-09-13 10:52:57
|
Revision: 6295 http://svn.sourceforge.net/docbook/?rev=6295&view=rev Author: kosek Date: 2006-09-13 03:52:48 -0700 (Wed, 13 Sep 2006) Log Message: ----------- Aligned with changes made into xsl/htmlhelp/htmlhelp-common.xsl few months ago Modified Paths: -------------- trunk/slides/xsl/htmlhelp/htmlhelp.xsl Modified: trunk/slides/xsl/htmlhelp/htmlhelp.xsl =================================================================== --- trunk/slides/xsl/htmlhelp/htmlhelp.xsl 2006-09-13 08:51:12 UTC (rev 6294) +++ trunk/slides/xsl/htmlhelp/htmlhelp.xsl 2006-09-13 10:52:48 UTC (rev 6295) @@ -1,4 +1,7 @@ <?xml version="1.0"?> +<!DOCTYPE xsl:stylesheet [ +<!ENTITY lf '<xsl:text xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
</xsl:text>'> +]> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:exsl="http://exslt.org/common" @@ -38,27 +41,23 @@ <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/> </xsl:if> </xsl:if> - <xsl:call-template name="escape-attr"> - <xsl:with-param name="value"> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:with-param> - </xsl:call-template> + <xsl:apply-templates select="." mode="title.markup"/> </xsl:variable> <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> - <xsl:text disable-output-escaping="yes"><LI> <OBJECT type="text/sitemap"> - <param name="Name" value="</xsl:text> - <xsl:value-of select="normalize-space($title)"/> - <xsl:text disable-output-escaping="yes">"> - <param name="Local" value="</xsl:text> + <LI><OBJECT type="text/sitemap">&lf; + <param name="Name" value="{normalize-space($title)}"/>&lf; + <param name="Local"> + <xsl:attribute name="value"> <xsl:apply-templates select="." mode="filename"/> - <xsl:text disable-output-escaping="yes">"> - </OBJECT></xsl:text> + </xsl:attribute> + </param> + </OBJECT></LI>&lf; </xsl:if> <xsl:if test="foil|foilgroup"> - <xsl:text disable-output-escaping="yes"><UL></xsl:text> + <UL>&lf; <xsl:apply-templates select="foil|foilgroup" mode="hhc"/> - <xsl:text disable-output-escaping="yes"></UL></xsl:text> + </UL>&lf; </xsl:if> </xsl:template> @@ -72,22 +71,18 @@ <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/> </xsl:if> </xsl:if> - <xsl:call-template name="escape-attr"> - <xsl:with-param name="value"> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:with-param> - </xsl:call-template> + <xsl:apply-templates select="." mode="title.markup"/> </xsl:variable> <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*"> - <xsl:text disable-output-escaping="yes"><LI> <OBJECT type="text/sitemap"> - <param name="Name" value="</xsl:text> - <xsl:value-of select="normalize-space($title)"/> - <xsl:text disable-output-escaping="yes">"> - <param name="Local" value="</xsl:text> - <xsl:apply-templates select="." mode="filename"/> - <xsl:text disable-output-escaping="yes">"> - </OBJECT></xsl:text> + <LI><OBJECT type="text/sitemap">&lf; + <param name="Name" value="{normalize-space($title)}"/>&lf; + <param name="Local"> + <xsl:attribute name="value"> + <xsl:apply-templates select="." mode="filename"/> + </xsl:attribute> + </param> + </OBJECT></LI>&lf; </xsl:if> </xsl:template> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |