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 2004/12/07 09:45:07 UTC

svn commit: r110096 - /lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl

Author: andreas
Date: Tue Dec  7 00:45:05 2004
New Revision: 110096

URL: http://svn.apache.org/viewcvs?view=rev&rev=110096
Log:
using xsl:element again since it works at least with Xalan
Modified:
   lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl

Modified: lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl?view=diff&rev=110096&p1=lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl&r1=110095&p2=lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl&r2=110096
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl	(original)
+++ lenya/trunk/src/webapp/lenya/xslt/util/strip_namespaces.xsl	Tue Dec  7 00:45:05 2004
@@ -29,10 +29,10 @@
   <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
   
   <xsl:template match="*">
-    <xsl:copy>
+    <xsl:element name="{local-name()}" namespace="{namespace-uri()}">
       <xsl:copy-of select="@*"/>
       <xsl:apply-templates/>
-    </xsl:copy>
+    </xsl:element>
   </xsl:template>
   
 </xsl:stylesheet>

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