Re: xsl macros and cocoon??

Subject: Re: xsl macros and cocoon??
From: "Emmanuel.Leguy" <Emmanuel.Leguy@xxxxxxx>
Date: Tue, 11 May 1999 10:29:32 +0200
Keith Visco wrote:
> Emmanuel,
> Cocoon's support for XSL is based on which XSL processor you are using.
> The XSL processor support that cocoon ships with (either XSL:P or
> LotusXSL) is for the XSL WD 19981216 draft so you will need to use
> <xsl:macro name="macro-name"> ...</xsl:macro>
> and  <xsl:invoke name="macro-name"/>


That works!

Just a detail: the attribute of xsl:invoke is 'macro' and not 'name'.
So I use:

<xsl:macro name="macro-name">...</xsl:macro>
<xsl:invoke macro="macro-name"/>

Emmanuel Leguy
Laboratoire d'Informatique Fondamentale de Lille (LIFL)
Universite des Sciences et Technologies de Lille
Batiment M3 Cite Scientifique
59655 Villeneuve d'Ascq Cedex
tel: 03 20 33 63 38
fax: 03 20 43 65 66

 XSL-List info and archive:

Current Thread