Some sample sitemap code using the RequestModule:

                <map:transform src="xslt/test.xslt" type="saxon"
label="test">
                    <map:parameter name="contextPath"
value="{request:contextPath}"/>
                    <map:parameter name="serverName"
value="{request:serverName}"/>
                    <map:parameter name="serverPort"
value="{request:serverPort}"/>
                    <map:parameter name="servletPath"
value="{request:servletPath}"/>                                 
                </map:transform>


Cheers,
Robby Pelssers

-----Original Message-----
From: Chirathuru, Nagaraju [mailto:[email protected]] 
Sent: donderdag 5 februari 2009 12:56
To: [email protected]
Subject: RE: sitemap parameters

Hi Mathias,

I guess you need to know what kind of Input modules are available for
example for RequestModule. Please have a look into the below link might
useful for you

http://wiki.apache.org/cocoon/InputModules

Regards
Nagaraju Chittathuru

-----Original Message-----
From: Mathias Reem [mailto:[email protected]] 
Sent: Thursday, February 05, 2009 5:20 PM
To: Cocoon Users
Subject: sitemap parameters

Hi

I want to add W3C validation links into the generated documents,
therefore I would pass the request url as an parameter to the xsl
transformation that generates the document.

My problem is, I can not find any documentation on which "variables" are
available in the sitemap, or how I can obtain request url. :-( Can
somebody please give me a pointer?

thx
        Mathias

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to