On 27.Nov.2001 -- 03:41 PM, Alexander Smirnoff wrote:
Thanks Cris,
Again you saved me, man. Thanks.
You're welcome :-)
Approach with map:parameter name=target value=welcome/ generates code
in wrong place, which cause compilation error of sitemap. So I guess it
could be treated as a BUG.
Is there any way to pass parameters to resource from redirect-to point. for
example:
map:resources
map:resource name=transf
map:transform src=stylesheets/xsl/{file}.xsl/
map:serialize/
/map:resource
/map:resources
map:pipelines
I think this works:
map:match pattern=home
map:generate src=content/xml/welcome.xml /
map:redirect-to resource=transf
map:parameter name=file value=welcome/
/map:redirect-to
/map:match
Haven't
Nope it doesn't.
- Original Message -
From: David Rosenstrauch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 27, 2001 2:10 PM
Subject: Re: LF: passing parameters to resource
I think this works:
map:match pattern=home
map:generate src
Thanks Cris,
Again you saved me, man. Thanks.
This works now:
map:resources
map:resource name=transf
map:transform src=stylesheets/xsl/{target}.xsl/
map:serialize/
/map:resource
/map:resources
...
map:match pattern=home
map:generate