- From: Erik Bruchez <ebruchez@orbeon.com>
- Date: Tue, 4 Sep 2018 22:48:49 -0700
- To: Steven Pemberton <steven.pemberton@cwi.nl>
- Cc: mixich.andreas@gmail.com, XForms <public-xformsusers@w3.org>
> - Even when using XPath 2.0, a subset of the `map:` functions can be supported and XForms could mandate that. > > I'd like to see your proposal for what that would look like. Our `map` functions are documented here with examples: https://doc.orbeon.com/xforms/xpath/maps-arrays#maps You can simply build a `map` with `map:merge()` and `map:entry()`, like this; map:merge( ( map:entry('number', 42), map:entry('string', 'forty-two'), map:entry('node', instance()), map:entry('sequence', 1 to 10) ) ) -Erik
Received on Wednesday, 5 September 2018 05:49:23 UTC