You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2010/11/25 11:08:00 UTC

svn commit: r1038977 - /lenya/contributions/2_0_X/modules/xhtmlfiredocs/xslt/clean-xhtmlfiredocs.xsl

Author: andreas
Date: Thu Nov 25 10:08:00 2010
New Revision: 1038977

URL: http://svn.apache.org/viewvc?rev=1038977&view=rev
Log:
Remove dependency on Kupu module.

Modified:
    lenya/contributions/2_0_X/modules/xhtmlfiredocs/xslt/clean-xhtmlfiredocs.xsl

Modified: lenya/contributions/2_0_X/modules/xhtmlfiredocs/xslt/clean-xhtmlfiredocs.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/xhtmlfiredocs/xslt/clean-xhtmlfiredocs.xsl?rev=1038977&r1=1038976&r2=1038977&view=diff
==============================================================================
--- lenya/contributions/2_0_X/modules/xhtmlfiredocs/xslt/clean-xhtmlfiredocs.xsl (original)
+++ lenya/contributions/2_0_X/modules/xhtmlfiredocs/xslt/clean-xhtmlfiredocs.xsl Thu Nov 25 10:08:00 2010
@@ -23,15 +23,8 @@
     xmlns="http://www.w3.org/1999/xhtml"
     >
 
-  <xsl:import href="fallback://lenya/modules/kupu/resources/kupu/apache-lenya/lenya/kupusave.xsl"/>
   <xsl:import href="fallback://lenya/modules/bxe/xslt/change-object-path-back.xsl"/>
 
-  <xsl:template match="@*|node()">
-    <xsl:copy>
-      <xsl:apply-templates select="@*|node()"/>
-    </xsl:copy>
-  </xsl:template>
-  
   <!-- Prevents empty titles from interfering with IE during editing -->
   <xsl:template match="xhtml:title">
     <xsl:param name="title" select="." />
@@ -58,7 +51,7 @@
   </xsl:template>
 
   <!-- Unsupported by the schema -->
-  <xsl:template match="@shape|@target|xhtml:u">
+  <xsl:template match="@align|@clear|@name|@shape|@start|@style|@target|@type|xhtml:u">
     <xsl:apply-templates />
   </xsl:template>
   
@@ -118,4 +111,10 @@
     </p>
   </xsl:template>
 
+  <xsl:template match="@*|node()|comment()" priority="-2">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()|comment()"/>
+    </xsl:copy>
+  </xsl:template>
+  
 </xsl:stylesheet> 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org