cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenny Chow <kycaeo...@yahoo.com>
Subject Re: Sitemap parameters to XSP pages
Date Tue, 25 Jun 2002 01:57:09 GMT
Hi Fabricio,

http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102266350403912&w=2

Hope this helps.
Kenny

--- Fabricio Chalub <CHALUB@fgv.br> wrote:
> Hello, folks.
> 
> How can I pass a parameter specified on the sitemap
> to a XSP (and, possibly,
> a logicsheet)?
> 
> I was thinking something like this:
> 
> <map:match pattern="test-*.html">
> <map:generate src="doc/test.xml" type="serverpages">
>   <map:parameter name="test" value="{1}"/>
> </map:generate>
> <map:transform src="stylesheets/epge/document.xsl"/>
> <map:serialize/>
> </map:match>
> 
> And (somehow) the parameter "test" would be
> available on the XSP page.
> 
> For exampleo, if I call the URL test-HELLOWORLD.html
> the value of the
> parameter "test", would be (on this particular
> example) "HELLOWORLD".
> 
> Note that I know that it is possible to pass a
> parameter to a XSLT page, but
> I am not aware if you can do this directly to a XSP
> page (and even
> 'forwarding' the parameters to logicsheets).
> 
> If it is not possible, what alternative would you
> suggest?
> 
> Thanks!
> Fabricio Chalub
> 
>
---------------------------------------------------------------------
> Please check that your question  has not already
> been answered in the
> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:    
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:  
> <cocoon-users-help@xml.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message