[Commits] (jeffrey) Use new css constant.

commits at osafoundation.org commits at osafoundation.org
Mon Feb 2 10:08:54 PST 2004


Commit by: jeffrey
Modified files:
osaf/chandler/Chandler/distrib/transforms/index.xsl 1.3 1.4

Log message:
Use new css constant.


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/distrib/transforms/index.xsl.diff?r1=text&tr1=1.3&r2=text&tr2=1.4

Index: osaf/chandler/Chandler/distrib/transforms/index.xsl
diff -u osaf/chandler/Chandler/distrib/transforms/index.xsl:1.3 osaf/chandler/Chandler/distrib/transforms/index.xsl:1.4
--- osaf/chandler/Chandler/distrib/transforms/index.xsl:1.3	Fri Jan 23 23:18:05 2004
+++ osaf/chandler/Chandler/distrib/transforms/index.xsl	Mon Feb  2 10:08:23 2004
@@ -34,7 +34,13 @@
 				</title>
 				<link rel="stylesheet" type="text/css">
 				   <xsl:attribute  name = "href" >
-				      <xsl:value-of select="$constants.cssPath" />
+                   <xsl:call-template name="createRelativePath">
+                      <xsl:with-param name="src">
+                         <xsl:apply-templates mode="translateURI" select="/core:Parcel/@describes" />
+                      </xsl:with-param>
+                      <xsl:with-param name="target" select="$constants.topURI"/>
+                   </xsl:call-template>
+				   <xsl:value-of select="$constants.cssFile" />
 				   </xsl:attribute>
 				</link>
 			</head>
@@ -45,10 +51,12 @@
 				</h1>
 				<a>
 				<xsl:attribute  name = "href" >
-      <xsl:call-template name="createRelativePath">
-         <xsl:with-param name="src" select="/core:Parcel/@describes" />
-         <xsl:with-param name="target" select="'///'"/>
-      </xsl:call-template>
+                   <xsl:call-template name="createRelativePath">
+                      <xsl:with-param name="src">
+                         <xsl:apply-templates mode="translateURI" select="/core:Parcel/@describes" />
+                      </xsl:with-param>
+                      <xsl:with-param name="target" select="$constants.topURI"/>
+                   </xsl:call-template>
 				</xsl:attribute>
 				Back to the main index
 				</a>



More information about the Commits mailing list