Re: URI Functions

> - 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