Hi all,

I've got something like :
   <map:match pattern="D*/*.xml">
    <map:generate src="D{1}/{2}.xml"/>
    <map:match type="request" pattern="lang">
     <map:transform src="doc.xsl">
      <map:parameter name="lang" value="{1}"/>
     </map:transform>
     <map:serialize type="html"/>
    </map:match>
   </map:match>
In my sitemap.

But I'm not sure that "lang" - optional parameter of doc.xsl - has been sent
by the URL, and :
URL like xxx.xml?lang= => ok
URL like xxx.xml => ressource not found error

=> How can I manage optional request parameters in the sitemap ?

Many thanks,

Olivier



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

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

Reply via email to