xsl-list
[Top] [All Lists]

RE: [xsl] initial template parameters

2010-03-18 03:19:51
"Parameters passed to the transformation by the client 
application are matched against stylesheet parameters (see 
9.5 Global Variables and Parameters), not against the 
template parameters declared within the initial template. All 
template parameters within the initial template to be 
executed will take their default values."

Why? :-(

Either because we were lazy, or because we wanted to keep things simple, or
both. I think an interface in which you could supply both the values of
stylesheet parameters and the values of parameters to the initial template
might be confusing to many users. However, I can see why you want it:
logically, the requirement makes sense.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--