cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Krulewitz <>
Subject Re: [cforms] Woody template transformer eating namespaced element tags?
Date Thu, 04 Mar 2004 23:14:12 GMT
I did a little more poking around, and it turns out that even though the 
woody template transformer mangles the xml document, the problem does 
not appear unless you run the document through the identity xslt transform.

Simple example:

<html xmlns="">
Hello World

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
<xsl:template match="@*|node()" priority="-1">
<xsl:apply-templates select="@*|node()"/>

<map:match pattern="test">
   <map:generate src="test.xml"/>
   <map:transform type="woody"/>
   <map:transform src="test.xsl"/>

Will produce
< xmlns="">
Hello World

But if you remove the woody transform or the xslt, you get
<html xmlns="">
Hello World

View raw message