svn commit: r639083 - /lenya/sandbox/modules/forrest/xslt/forrestDocument202xhtml.xsl

[email protected]
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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.