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