forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: rev 76042 - forrest/trunk/plugins/text-output/resources/stylesheets/txt
Date Tue, 16 Nov 2004 21:50:40 GMT
Author: rick
Date: Tue Nov 16 13:50:39 2004
New Revision: 76042

Modified:
   forrest/trunk/plugins/text-output/resources/stylesheets/txt/document2txt.xsl
Log:
Somewhat better handling of nested elements by removing the explicit
template that matched text() nodes.  This template did it's own word
wrapping, which caused problems with nested elements.


Modified: forrest/trunk/plugins/text-output/resources/stylesheets/txt/document2txt.xsl
==============================================================================
--- forrest/trunk/plugins/text-output/resources/stylesheets/txt/document2txt.xsl	(original)
+++ forrest/trunk/plugins/text-output/resources/stylesheets/txt/document2txt.xsl	Tue Nov 16
13:50:39 2004
@@ -487,16 +487,6 @@
     
   
   <!-- End of "toc" mode templates -->
-    
-  <xsl:template match="text()">
-    <xsl:param name="level"/>
-
-    <xsl:call-template name="emit">
-      <xsl:with-param name="text" select="."/>
-      <xsl:with-param name="indent" select="$level * $indent-per-level"/>
-    </xsl:call-template>
-
-  </xsl:template>
 
 </xsl:stylesheet>
 

Mime
View raw message