Can I change sitemap in XSP code?

>Hi,
>
>   you may try to use Action in Sitemap to dinamically select diffirent xsl based on 
>url or
>requested xml file.
>
>example :
>
>    <map:match pattern="**.agg">
>       <map:act type="path-selector">
>         <map:generate  src="{path}"/>
>         <map:transform src="{centerXSLPath}"/>
>       </map:act>      
>     <map:serialize/>
>     </map:match>
>
>the path-selector action will select and return the xsl file's path.
>
>hth,
>
>regards,
>Kok Choon.
>--------------------------------------------------------
>Name: Ling Kok Choon
>E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
>Date: 01/04/02
>Time: 10:26:58
>
>This message was sent by Z-Mail Pro - from NetManage
>NetManage - delivers Standards Based IntraNet Solutions
>--------------------------------------------------------
>
>
>---------------------------------------------------------------------
>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]>
>
>.

                    ÖÂ
Àñ£¡

            YANG Qiandong
            [EMAIL PROTECTED]



---------------------------------------------------------------------
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