XQuery – subsequence Function
The subsequence function is used to get the sequence containing requested items present in a given sequence. Syntax subsequence($seq as item()*, $startingLoc as xs:double, $length as xs:double) Input Parameters $seq − provided sequence.…