Comment 0 for bug 1058398

Revision history for this message
Matthias Brantner (matthias-brantner) wrote : value-based sequence operations

Implement the following value-based sequence function in a new sequence module:

module namespace seq = "http://www.zorba-xquery.com/modules/sequence";

declare function seq:value-intersect($seq1 as xs:anyAtomicType*, $seq2 as xs:anyAtomicType*) as xs:anyAtomicType*
external;

declare function seq:value-union($seq1 as xs:anyAtomicType*, $seq2 as xs:anyAtomicType*) as xs:anyAtomicType* external;

declare function seq:value-expect($seq1 as xs:anyAtomicType*, $seq2 as xs:anyAtomicType*) as xs:anyAtomicType* external;