You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/12/09 05:24:58 UTC

svn commit: r111347 - /lenya/trunk/src/webapp/lenya/xslt/bxe/aggregate.xsl

Author: gregor
Date: Wed Dec  8 20:24:55 2004
New Revision: 111347

URL: http://svn.apache.org/viewcvs?view=rev&rev=111347
Log:
Apply patch by Doug Chestnut to make BXE work with 2.1.6. This resolves http://issues.apache.org/bugzilla/show_bug.cgi?id=32574
Modified:
   lenya/trunk/src/webapp/lenya/xslt/bxe/aggregate.xsl

Modified: lenya/trunk/src/webapp/lenya/xslt/bxe/aggregate.xsl
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/xslt/bxe/aggregate.xsl?view=diff&rev=111347&p1=lenya/trunk/src/webapp/lenya/xslt/bxe/aggregate.xsl&r1=111346&p2=lenya/trunk/src/webapp/lenya/xslt/bxe/aggregate.xsl&r2=111347
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/bxe/aggregate.xsl	(original)
+++ lenya/trunk/src/webapp/lenya/xslt/bxe/aggregate.xsl	Wed Dec  8 20:24:55 2004
@@ -19,7 +19,7 @@
 
 <xsl:stylesheet version="1.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-  xmlns="http://www.w3.org/1999/xhtml"
+  xmlns:xhtml="http://www.w3.org/1999/xhtml"
 >
 
 <xsl:template match="/">
@@ -28,18 +28,18 @@
 
 <xsl:template match="bxe">
 <html>
-<xsl:apply-templates select="html/head"/>
-<xsl:copy-of select="html/body"/>
+<xsl:apply-templates select="xhtml:html/xhtml:head"/>
+<xsl:copy-of select="xhtml:html/xhtml:body"/>
 </html>
 </xsl:template>
 
-<xsl:template match="head">
-<head>
+<xsl:template match="xhtml:head">
+<xhtml:head>
 <xsl:for-each select="/bxe/namespaces/xmlns">
   <meta name="bxeNS" content="{.}"/>
 </xsl:for-each>
 <xsl:copy-of select="@*|node()"/>
-</head>
+</xhtml:head>
 </xsl:template>
  
 </xsl:stylesheet>  

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