[Mono-list] Problem with XSLTTranfsorm

Joshua Tauberer tauberer@for.net
Fri, 26 Nov 2004 19:16:23 -0500 (EST)


On Fri, 26 Nov 2004, Ariel Rios wrote:
> <xsl:template match="Reporte">
> 	<xsl:param name="pag" />
> 	<xsl:param name="modoAccion" />

The xsl:param for modoAccion should be outside of xsl:template as a child 
of the xsl:stylesheet element.  Think of it as a parameter to the 
stylesheet itself rather than a parameter to a template.

I'm pretty sure this is how it needs to be according to the XSLT spec, in 
which case Microsoft has been extra nice in making it work that way too, 
but now we'll probably want to have Mono's XSLT engine behave the same 
way...  (The bugzilla address is bugzilla.ximian.com.  The 'bug' should 
go under Mono Class Libraries -> Sys.XML, I think.)

- Josh Tauberer