You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ch...@apache.org on 2005/11/16 16:27:21 UTC

svn commit: r345036 - /lenya/trunk/src/modules/xhtml/xslt/clean-xhtml.xsl

Author: chestnut
Date: Wed Nov 16 07:27:15 2005
New Revision: 345036

URL: http://svn.apache.org/viewcvs?rev=345036&view=rev
Log:
added kupusave.xsl as import to clean up kupu generated source before validation

Modified:
    lenya/trunk/src/modules/xhtml/xslt/clean-xhtml.xsl

Modified: lenya/trunk/src/modules/xhtml/xslt/clean-xhtml.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/xhtml/xslt/clean-xhtml.xsl?rev=345036&r1=345035&r2=345036&view=diff
==============================================================================
--- lenya/trunk/src/modules/xhtml/xslt/clean-xhtml.xsl (original)
+++ lenya/trunk/src/modules/xhtml/xslt/clean-xhtml.xsl Wed Nov 16 07:27:15 2005
@@ -20,16 +20,30 @@
     xmlns:xhtml="http://www.w3.org/1999/xhtml"
     >
 
+  <xsl:import href="fallback://lenya/resources/kupu/apache-lenya/lenya/kupusave.xsl"/>
+  <xsl:import href="fallback://lenya/xslt/bxe/change-object-path-back.xsl"/>
+
   <xsl:template match="@*|node()">
     <xsl:copy>
       <xsl:apply-templates select="@*|node()"/>
     </xsl:copy>
   </xsl:template>
   
+  <!-- Unsupported by the schema -->
+  <xsl:template match="@shape|@target|xhtml:u">
+    <xsl:apply-templates />
+  </xsl:template>
+  
   <xsl:template match="xhtml:b">
     <xhtml:strong>
       <xsl:apply-templates />
     </xhtml:strong>
+  </xsl:template>
+  
+  <xsl:template match="xhtml:i">
+    <xhtml:em>
+      <xsl:apply-templates />
+    </xhtml:em>
   </xsl:template>
   
 </xsl:stylesheet> 



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