|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: mapping (Was: Re: Re: . in for)
DPawson@xxxxxxxxxxx wrote: > Yes, I suppose to follow a standard function form it should be > select ='map (lower-case(), $departments)'. Is there a reason why we can't identify and pass functions by their QName? We could then write select ='map(xf:lower-case, $departments)'. This would circumvent the lexical problems. Probably this avoids having functions as data type in the data model, although their QNames de facto are used as such. > I'm sure David C or Dimitre could extend this to a piped form? > Guessing, > select='map (fnA(), (map (fnb(), $departments)))' If Jeni's proposal for having XSLT functions constructing sequences is accepted, this should be perfectly possible. I'd omit unnecessary spaces and parenthesis: select='map(fnA(), map(fnb(), $departments))' or select='map(my:fnA, map(my:fnb, $departments))' Regards J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








