cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zamek <za...@vili.pmmf.hu>
Subject multiple transform how?
Date Sat, 08 Nov 2003 18:54:23 GMT
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... ?

-- 
thanks,
----------------------------------------------------
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694


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


Mime
View raw message