forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r159611 - in forrest/trunk/plugins/org.apache.forrest.plugin.projectInfo/resources/stylesheets: changes2document.xsl todo2document.xsl
Date Thu, 31 Mar 2005 16:16:15 GMT
Author: rgardler
Date: Thu Mar 31 08:16:14 2005
New Revision: 159611

URL: http://svn.apache.org/viewcvs?view=rev&rev=159611
Log:
add copyover template instead of importing (fixes FOR-473, thanks to Cyriaque Dupoirieux)

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.projectInfo/resources/stylesheets/changes2document.xsl
    forrest/trunk/plugins/org.apache.forrest.plugin.projectInfo/resources/stylesheets/todo2document.xsl

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.projectInfo/resources/stylesheets/changes2document.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.projectInfo/resources/stylesheets/changes2document.xsl?view=diff&r1=159610&r2=159611
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.projectInfo/resources/stylesheets/changes2document.xsl
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.projectInfo/resources/stylesheets/changes2document.xsl
Thu Mar 31 08:16:14 2005
@@ -18,10 +18,7 @@
 
 <xsl:stylesheet
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-    version="1.0">
-
- <xsl:import href="copyover.xsl"/>
- 
+    version="1.0"> 
 
  <!-- FIXME (JJP):  bugzilla is hardwired -->
  <xsl:variable name="bugzilla" select="'http://issues.apache.org/bugzilla/buglist.cgi?bug_id='"/>
@@ -124,5 +121,11 @@
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>
+
+  <xsl:template match="@*|*|text()|processing-instruction()|comment()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
+    </xsl:copy>
+  </xsl:template>
 
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.projectInfo/resources/stylesheets/todo2document.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.projectInfo/resources/stylesheets/todo2document.xsl?view=diff&r1=159610&r2=159611
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.projectInfo/resources/stylesheets/todo2document.xsl
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.projectInfo/resources/stylesheets/todo2document.xsl
Thu Mar 31 08:16:14 2005
@@ -20,8 +20,6 @@
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     version="1.0">
 
- <xsl:import href="copyover.xsl"/>
-
  <xsl:template match="/">
   <xsl:apply-templates select="//todo"/>
  </xsl:template>
@@ -51,5 +49,11 @@
    </ul>
   </section>
  </xsl:template>
+
+  <xsl:template match="@*|*|text()|processing-instruction()|comment()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
+    </xsl:copy>
+  </xsl:template>
 
 </xsl:stylesheet>



Mime
View raw message