hi

i try to use a xml file as a data repository
and get data (generate xml output using .xsl)

i have into my sitemap this match

<map:match pattern="xmldb/*.*">
        <map:generate src="../htdocs/xmldb/{1}_{../locale}.xml"/>
        <map:transform src="../htdocs/xmldb/{2}.xsl"/>
        <map:serialize type="xml"/>
</map:match>


when i make a call using a URL just like

http://.../xmldb/data.trans?locale=el

where data_el.xml is my data repository
and   trans.xsl   is my xsl file

everything work fine


but !!!!!

i want this xml output to be a part of a greater xml output
so i try to use aggregate

my code

                <map:resource name="dynbuilder">
                        <map:aggregate element="site">
                                <map:part src="cocoon:/xmldb/{../1}.{../2}.trans" 
label="content"/>
                        </map:aggregate>

                        <map:serialize type="xml"/>
                </map:resource>

in this code <map:part src="cocoon:/....... />

seems to bring No content


i try to modify my map:resource as
                <map:resource name="dynbuilder">
                        <map:generate src="cocoon:/xmldb/{../1}.{../2}.trans" 
label="content"/>

                        <map:serialize type="xml"/>
                </map:resource>

and i get no content too

i call this resource using

                                <map:match pattern="dynbuilder.*.*">
                                        <map:call resource="dynbuilder"/>
                                </map:match>

http://..../dynbuilder.data.trans?locale=el


is here something i do wrong?

thnx
stavros


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to