svn commit: r639083 - /lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl
[email protected] Thu, 20 Mar 2008 00:00:40 -0000
Newsgroups
gmane.comp.cms.lenya.cvs
Message-ID
<[email protected] >
Author: andreas
Date: Wed Mar 19 17:00:40 2008
New Revision: 639083
URL: http://svn.apache.org/viewvc?rev=639083&view=rev
Log:
Converting forrest XML elements to XHTML namespace.
Modified:
lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl
Modified: lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl?rev=639083&r1=639082&r2=639083&view=diff
==============================================================================
--- lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl (original)
+++ lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl Wed Mar 19 17:00:40 2008
@@ -162,10 +162,15 @@
</xsl:template>
- <xsl:template match="*|@*|node()|text()" priority="-1">
- <xsl:copy>
- <xsl:apply-templates select="*|@*|node()|text()"/>
- </xsl:copy>
+ <xsl:template match="*">
+ <xsl:element name="{local-name()}" namespace="http://www.w3.org/1999/xhtml">
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:element>
+ </xsl:template>
+
+
+ <xsl:template match="@*|text()" priority="-1">
+ <xsl:copy/>
</xsl:template>
</xsl:stylesheet>