# fn:remove - XPath XQuery Reference

Returns a new sequence containing all the items of $target except the item
            at position $position.deterministiccontext-independentfocus-independentThe function returns a sequence consisting of all items of $target whose
            index is less than $position, followed by all items of $target
            whose index is greater than $position. fn:remove($abc, 0)("a", "b", "c")fn:remove($abc, 1)("b", "c")fn:remove($abc, 6)("a", "b", "c")fn:remove((), 3)()If $position is less than 1 or greater than the number of items in
               $target, $target is returned.If $target is the empty sequence, the empty sequence is returned.