From: <no...@so...> - 2002-12-12 16:50:10
|
Patches item #652767, was opened at 2002-12-12 16:50 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373749&aid=652767&group_id=21935 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Oliver Fischer (plexus73) Assigned to: Nobody/Anonymous (nobody) Summary: Single instance of html.stylesheet Initial Comment: === website === I changed head.xsl so that you need only one CSS stylesheet in the top directory, instead a copy in every subdirectory. For this I moved only the creation of $thisrelpath a little bit higher. Here is the new one.... <xsl:template match="head" mode="head.mode"> <xsl:variable name="nodes" select="*"/> <xsl:variable name="thisid" select="ancestor-or-self::webpage/@id"/> <xsl:variable name="thisrelpath"> <xsl:apply-templates select="$autolayout//*[@id=$thisid]" mode="toc-rel-path"/> </xsl:variable> <head> <meta name="generator" content="Website XSL Stylesheet V{$VERSION}"/> <xsl:if test="$html.stylesheet != ''"> <link rel="stylesheet" type="text/css"> <xsl:attribute name="href"> <xsl:value-of select="$thisrelpath"/> <xsl:value-of select="$html.stylesheet"/> </xsl:attribute> <xsl:if test="$html.stylesheet.type != ''"> <xsl:attribute name="type"> <xsl:value-of select="$html.stylesheet.type"/> </xsl:attribute> </xsl:if> </link> </xsl:if> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373749&aid=652767&group_id=21935 |