cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <jheini...@virbus.de>
Subject Re: multiple transform how?
Date Sun, 09 Nov 2003 22:55:20 GMT
That's correct in general. What does "didn't work" mean exactly?

I don't know if you chose only names for the stylesheets without any 
meanings, but you have directory2html and page2html. Shouldn't it be 
something like directory2purehtml and purehtml2styledhtml?

Joerg

On 08.11.2003 19:54, Zamek wrote:

> Hi All,
> 
> I want to get a directory list formatted with my portal design.
> I use 
>             <map:generate type="directory" src="content/">
>                 <map:parameter name="sort" value="name"/>
>             </map:generate>
>             <map:transform src="../stylesheet/directory2html.xsl"/>
> 
> it results an xml, and I want to convert it with the next stylesheet:
> 
>            <map:transform src="../stylesheet/page2html.xsl">
>                    <map:parameter name="contextPath" 
> value="{request:contextPath}"/>
> 
> I tried this:
>         <map:match pattern="index">
>             <map:generate type="directory" src="content/">
>                 <map:parameter name="sort" value="name"/>
>             </map:generate>
>             <map:transform src="../stylesheet/directory2html.xsl"/>
>             <map:transform src="../stylesheet/page2html.xsl">
>                    <map:parameter name="contextPath" 
> value="{request:contextPath}"/>
>             </map:transform>
>             <map:serialize type="html"/>
>         </map:match>
> 
> but it didn't works :-(
> 
> Can I use multiple transforms, or is there another solving... ?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message