You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2005/10/25 00:31:36 UTC
svn commit: r328174 - in
/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets:
descriptorIndex-to-indexByLanguage.xsl locationmap-to-descriptorIndex.xsl
Author: rgardler
Date: Mon Oct 24 15:31:27 2005
New Revision: 328174
URL: http://svn.apache.org/viewcvs?rev=328174&view=rev
Log:
standardise on projectDetails/* URL space
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/descriptorIndex-to-indexByLanguage.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/locationmap-to-descriptorIndex.xsl
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/descriptorIndex-to-indexByLanguage.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/descriptorIndex-to-indexByLanguage.xsl?rev=328174&r1=328173&r2=328174&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/descriptorIndex-to-indexByLanguage.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/descriptorIndex-to-indexByLanguage.xsl Mon Oct 24 15:31:27 2005
@@ -52,7 +52,7 @@
<li>
<a>
- <xsl:attribute name="href">./<xsl:value-of select="@href-noext"/>.html</xsl:attribute>
+ <xsl:attribute name="href"><xsl:value-of select="@href-noext"/>.html</xsl:attribute>
<xsl:value-of select="$name"/>
</a>
</li>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/locationmap-to-descriptorIndex.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/locationmap-to-descriptorIndex.xsl?rev=328174&r1=328173&r2=328174&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/locationmap-to-descriptorIndex.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/locationmap-to-descriptorIndex.xsl Mon Oct 24 15:31:27 2005
@@ -13,8 +13,8 @@
<xsl:template match="lm:locator/lm:match[starts-with(@pattern, 'project.descriptor')]">
<xsl:variable name="href-noext">
<xsl:choose>
- <xsl:when test="@pattern = 'project.descriptor'">/projectDetails</xsl:when>
- <xsl:otherwise>/projectDetails.<xsl:value-of select="substring-after(@pattern, 'project.descriptor.')"/></xsl:otherwise>
+ <xsl:when test="@pattern = 'project.descriptor'">projectDetails</xsl:when>
+ <xsl:otherwise>projectDetails.<xsl:value-of select="substring-after(@pattern, 'project.descriptor.')"/></xsl:otherwise>
</xsl:choose>
</xsl:variable>
@@ -22,7 +22,7 @@
<xsl:attribute name="id"><xsl:value-of select="@pattern"/></xsl:attribute>
<xsl:attribute name="href-noext"><xsl:value-of select="$href-noext"/></xsl:attribute>
<cinclude:include>
- <xsl:attribute name="src">cocoon:<xsl:value-of select="$href-noext"/>.source.xml</xsl:attribute>
+ <xsl:attribute name="src">cocoon:/<xsl:value-of select="$href-noext"/>.source.xml</xsl:attribute>
</cinclude:include>
</descriptor>
</xsl:template>