--
-- xpath/3
--
create or replace function xpath(
text,
xml,
text[]
) returns _xml as $$
xpath$$ language plpgsql;
--
-- xpath/2
--
create or replace function xpath(
text,
xml
) returns _xml as $$
select pg_catalog.xpath($1, $2, '{}'::pg_catalog.text[])$$ language plpgsql;