I have this sitemap:

   <map:match pattern="**/*">
        <map:aggregate element="contents">
        <map:part src="contents/{1}/{2}.xml"/>
        <map:part src="cocoon:/toc/{2}"/>
        </map:aggregate>
        <map:serialize type="xml"/>
   </map:match>

   <map:match pattern="toc/*">
        <map:generate src="contents/toc.xml"/>
        <map:transform type="xslt" src="stylesheets/toc.xsl">
                <map:parameter name="current-page" value="{1}"/>
        </map:transform>
        <map:serialize type="xml"/>
   </map:match>

Cocoon gives no errors and returns a blank page. I tryed to substitute
"/" in the pattern "toc/*" with "." resulting in the pattern "toc.*" and
cocoon produced the expected output.

Why this happens? Is it my fault or cocoon fault?

Thaks,
Gianluca

-- 
Gianluca Sartori                     ELIS - SIE - Software Development

Via Sandro Sandri, 81                         (tel) +39 06.43.56.03.55
00159 Rome - Italy                            (fax) +39 06.43.56.03.99



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

Reply via email to