Hi John,

> What's the syntax for passing param(s) to a stylesheet?

Try $processor->transform(XSLT($stylesheet, %parms))

That's actually (almost) documented in the very bottom of the
AxKit2::Processor POD.

> How does one reference the params in the stylesheet?

Define them as global parameters in your stylesheet. The values will be
initialized by the parms you pass in:

<xsl:param name="my_parm"/>

Then reference it like any other value/parameter with $my_parm.

Yeah, an example in the documentation would be a nice touch ;-)

Regards,
Lars


-- 

Lars Skjærlund
Skovengen 111
2980 Kokkedal
Denmark
 
Tel.: +45 70 25 88 10
 
http://www.skjaerlund.dk/lars


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to