[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Variable number of arguments

Subject: Re: Variable number of arguments
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 27 Jan 2006 19:28:07 +1100
variable number of arguments
> 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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.