Ralph Lange wrote:

     <map:match pattern="download/**.pdf">
     <map:act type="downloadAction">
         <map:parameter name="file" value="{1}"/>
     <map:read src="{1}.pdf" mime-type="application/pdf"/>
     </map:act>
       <map:generate src="xml/de/download/downloaderror.xml"/>
            <map:transform src="xsl/de/download/downloaderror.xsl"/>
            <map:serialize/>          </map:match>

where {1} is the path plus the filename, cocoon doesn't resolve the pipeline key on the map:read construct, instead it produces the errormessage:

Try with  <map:read src="{../1}.pdf" mime-type="application/pdf"/>

Askild
-

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

Reply via email to