Alan wrote:

   I'd like to be able to reference single query parameters in the
   sitemap. I have a query string that looks like this:

   by-production.xml?date=2004-06-01&prod=343

   I want it to generate a document from a data document that has
   been filtered by the month, I would call that document directly
   thus:

   by-vendor.xml?date=2004-06-01

   This will filter the document by the specified month.

   When I pass use-request-parameters, I can tell that the
   by-vendor.xml document is be created for each "production" for
   each month when I would like it to cache a single document for
   the month.

   I'd like to do this in my sitemap:

       <map:generate src="by-vendor.xml?date={$date}"/>

   Or maybe:

       <map:generate src="{$date}/by-vendor.xml"/>

   Can't find the syntax to pluck specific parameters.

Thank you.



maybe, using the request-param input module may help you :

  <map:generate src="{request-param:date}/by-vendor.xml"/>



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



Reply via email to