MarkLogic extension to xmlsh