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

RE: mapping (Was: Re: Re: . in for)

Subject: RE: mapping (Was: Re: Re: . in for)
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Wed, 09 Jan 2002 14:07:02 +0100
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))'
 select='map(my:fnA, map(my:fnb, $departments))'


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.