mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
5950a984a7
parser interface code. It now uses libxml2 instead of expat (though I've left the old code in the tarball). This means *proper* XPath support, and the provided function allows you to wrap your result set in XML tags to produce a new XML document. John Gray
7 lines
251 B
Plaintext
7 lines
251 B
Plaintext
--SQL for XML parser
|
|
|
|
CREATE FUNCTION pgxml_parse(text) RETURNS bool
|
|
AS '_OBJWD_/pgxml_DLSUFFIX_' LANGUAGE 'c' WITH (isStrict);
|
|
|
|
CREATE FUNCTION pgxml_xpath(text,text,text,text) RETURNS text
|
|
AS '_OBJWD_/pgxml_DLSUFFIX_' LANGUAGE 'c' WITH (isStrict); |