Wednesday, August 6, 2008

[GENERAL] problem using a xpath function

hello everyone
I'm working on PostgreSQL XML Extension.
My system is windows xp professional sp2 and
PostgreSQL 8.3.3 and I am sure installed xml2 module.

I have a 2 colums table:

(frase di creazione tabella : create table ecc ecc)

I have a problem using a xpath function.
My query is:

SELECT id_autori , xpath ('/Authority/Nome', testo)
FROM autori
WHERE xpath_bool('/Authority[Nome="ABELARDO"]', testo) ;

I get this error:
ERROR : the function xpath_nodeset(unknown , xml) do not exsist at character
69
HINT: no function matches the given name and argument types. You might need
to add explicit type casts


Any Idea ?
thanks
--
View this message in context: http://www.nabble.com/problem-using-a-xpath-function-tp18853909p18853909.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

No comments: