You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2011/01/20 08:42:33 UTC

svn commit: r1061144 - in /forrest/trunk/main/webapp/skins: coat/xslt/html/document-to-html.xsl scales/xslt/html/document-to-html.xsl tigris/xslt/html/document-to-html.xsl

Author: crossley
Date: Thu Jan 20 07:42:32 2011
New Revision: 1061144

URL: http://svn.apache.org/viewvc?rev=1061144&view=rev
Log:
Apply r1061113 to other skins.
Suppress extra generated id when converting xdoc sections to html

Modified:
    forrest/trunk/main/webapp/skins/coat/xslt/html/document-to-html.xsl
    forrest/trunk/main/webapp/skins/scales/xslt/html/document-to-html.xsl
    forrest/trunk/main/webapp/skins/tigris/xslt/html/document-to-html.xsl

Modified: forrest/trunk/main/webapp/skins/coat/xslt/html/document-to-html.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/coat/xslt/html/document-to-html.xsl?rev=1061144&r1=1061143&r2=1061144&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/coat/xslt/html/document-to-html.xsl (original)
+++ forrest/trunk/main/webapp/skins/coat/xslt/html/document-to-html.xsl Thu Jan 20 07:42:32 2011
@@ -84,7 +84,7 @@ imported document-to-html.xsl for detail
   <xsl:template match="@id">
     <xsl:apply-imports/>
   </xsl:template>
-  <xsl:template match="section"><a name="{generate-id()}"/>
+  <xsl:template match="section">
     <xsl:apply-templates select="@id"/>
     <xsl:variable name = "level" select = "count(ancestor::section)+1" />
     <xsl:choose>

Modified: forrest/trunk/main/webapp/skins/scales/xslt/html/document-to-html.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/scales/xslt/html/document-to-html.xsl?rev=1061144&r1=1061143&r2=1061144&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/scales/xslt/html/document-to-html.xsl (original)
+++ forrest/trunk/main/webapp/skins/scales/xslt/html/document-to-html.xsl Thu Jan 20 07:42:32 2011
@@ -87,7 +87,7 @@ imported document-to-html.xsl for detail
   <xsl:template match="@id">
     <xsl:apply-imports/>
   </xsl:template>
-  <xsl:template match="section"><a name="{generate-id()}"/>
+  <xsl:template match="section">
     <xsl:apply-templates select="@id"/>
     <xsl:variable name = "level" select = "count(ancestor::section)+1" />
     <xsl:choose>

Modified: forrest/trunk/main/webapp/skins/tigris/xslt/html/document-to-html.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/tigris/xslt/html/document-to-html.xsl?rev=1061144&r1=1061143&r2=1061144&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/tigris/xslt/html/document-to-html.xsl (original)
+++ forrest/trunk/main/webapp/skins/tigris/xslt/html/document-to-html.xsl Thu Jan 20 07:42:32 2011
@@ -118,7 +118,7 @@ and tabs (tab-to-menu.xsl) to generate t
   <xsl:template match="link | jump | fork | source | anchor | icon | code | figure | @id" >
     <xsl:apply-imports/>
   </xsl:template>
-  <xsl:template match="section"><a name="{generate-id()}"/>
+  <xsl:template match="section">
     <xsl:apply-templates select="@id"/>
     <xsl:variable name = "level" select = "count(ancestor::section)+1" />
     <xsl:choose>