what i have to do:


i have content.xml

i can call this file using 2 parameters

..../content.xml?lang=GR
..../content.xml?lang=EN

the problem is that i dont call this resource directly
but through a pipeline



    <map:resources>
        <map:resource name="buildsite>
            <map:aggregate element="site">
                <map:part src="menu.xml"/>
                <map:part src="content.xml"/>
            </map:aggregate>
            <map:serialize type="xml"/>
        </map:resource>
    </map:resources>


<map:pipeline>
        <map:match pattern="site">

        <map:call resource="buildsite"/>
        </map:match>
</map:pipeline>

THE question:

how can i call http://...../site?lang=GR

and then into the sitemap pass this [lang=GR]
to <map:resource>

any idea?


thnx

stavros


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to