On Mon, 21 Jul 2003 08:54:22 +0200, "Lionel Crine" <[EMAIL PROTECTED]>
said:
> Hi,
> 
> I'd like to use a wildcard in a generator like this :
> is this allowed ?

Correct. Variable elements are not allowed in the type attribute. To
achieve that sort of control, you could use a ParameterSelector. See:
http://cocoon.apache.org/2.1/userdocs/selectors/parameter-selector.html

This would allow you to cater for a variety of different, but hard coded,
generators.

Regards, Upayavira
 
> <map:match pattern="get*">
>     <map:generate type="Generator{1}" /> --> I think this is not allowed.
>     <map:transform type="xslt" src="xsl/{1}.xsl" />
>     <map:serialize type="html" />
> </map:match>
> 
> 
> Lionel
> 
> Lionel CRINE
> Soci�t� : 4DConcept
> 22 rue Etienne de Jouy 78353 JOUY EN JOSAS
> Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
> 
> 
> ---------------------------------------------------------------------
> 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