On 07.Oct.2002 -- 04:03 PM, Piroumian Konstantin wrote: > 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}.
I should add that it does make sense to have your own instance for that. Just copy the declaration and use a different name for your instance. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- 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]>