marcoduarte(at)bndes(dot)gov(dot)br writes:
> I think it is good idea make a function returning set of records,
> like xpath_table, but accepting xml data in a text paramiter.
> Today if you have a function with a xml parameter, you have to save it in
> a table to use xpath.
I believe you're mistaken. Why would you need to put the value into
a table?
regards, tom lane