First of all I should warn you to be careful with InputModules until some
oficial release, cause they are actively discussed right now at the dev list
and they can be changed (names, behavior, interfaces). You have been warned.

To use the DefaultsMetaModule you should tweak your cocoon.xconf where the
module is declared and add the values you need (just like the 'defaultSkin'
and 'base-uri' values are declared) and then simply use it like this in your
sitemap:

<map:transform src="skins/{defaults:skin}/style.xsl" />

Change {defaults:skin} to {defaults:yourVariableName}.

--
  Konstantin

> -----Original Message-----
> From: Barbara Post [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, October 07, 2002 3:45 PM
> To: [EMAIL PROTECTED]
> Subject: how to use Input Modules ?
> 
> 
> It seems that DefaultsMetaModule could fit my need : since I 
> have troubles with sitemap global parameters, they don't seem 
> to work well, how can I use Input Module to feed some 
> variables (constants in fact) in ? It's not clear to me.
> 
> Thanks for more info.
> 
> Babs
> 
> 
> ---------------------------------------------------------------------
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to