Title: Help on sitemap
Hi,
*** REPLY SEPARATOR
***On 14.03.2002 at 14:10 ÂÞÃù/eNet/¼¼Êõ·þÎñÊÂÒµ²¿/ϵͳ²¿/×ܼà
wrote:
Hello All, I hava a question for
sitemap how
can i write a sitmap:
if i request http://site/test.xml
it will transform by default.xsl
Hi Yury,
What about using a RequestParamAction?
Greetings,
Andreas
2Andreas:
My example just more for undestand of cocoons action's work. (May be :) )
OK, this can't be bad :)
Greetings,
Andreas
-
Please check that your
Title: Help on sitemap
Hello All,
I hava a question for sitemap
how can i write a sitmap:
if i request http://site/test.xml
it will transform by default.xsl
if i request http://site/test.xml?sytle=test.xsl
it will transform by test.xsl
Thanks
Hi,
You can try this
map:match pattern="text.xml">
map:match type="request-parameter" pattern="style">
map:generate src="text.xml"/>
map:transform src="{1}"/>
map:serialize type="xml"/>
/map:match>
map:generate src="text.xml"/>
map:serialize type="xml"/>
/map:match>
or
map:match