forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ferdinand Soethe <ferdin...@apache.org>
Subject Re: Problems transforming XHTML
Date Wed, 17 Aug 2005 12:54:03 GMT






Ferdinand Soethe wrote:

> There seems to be a couple of problems with transforming
> xhtml-document.

I found at least one of my mistakes:

> <!--pipeline that "marries" the docs in the root dir with the skin to produce html-->
>       <map:match pattern="*.html">
>         <map:aggregate element="site">
>           <map:part src="cocoon:/skinconf.xml"/>
>           <map:part src="cocoon:/build-info"/>
>           <map:part src="cocoon:/tab-{0}"/>
>           <map:part src="cocoon:/menu-{0}"/>
>           <map:part src="cocoon:/body-{0}"/>
>         </map:aggregate>
>         
>         <!--<map:call resource="skinit">
>           <map:parameter name="type" value="site2xhtml"/>
>           <map:parameter name="path" value="{0}"/>
>         </map:call>-->
> 
>         <map:serialize/>
>       </map:match>

I need to change the serializer to <map:serialize
type="xml-document"/> to get proper XML output. Will report back how
many of the problems that solved.



--
Ferdinand Soethe


Mime
View raw message