The alternative approach, of representing a variable number of
arguments with one argument - a list typed with the common sub-type of
all the permissable arguments, suffers from loss of static typing
accuracy.
This is not an 1:1 alternative, as one cannot represent as a sequence
a sequence of sequences. So, if the arguments of the function are
sequences, they (all the arguments) cannot be represented as a single
sequence -- a known limitation of XPath 2.0 sequences.
--
Cheers,
Dimitre Novatchev
---------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all.
--~------------------------------------------------------------------
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>
--~--