Am Dienstag, 10. April 2007 14:01 schrieb Nikolay Samokhvalov: > Here is new version that adds following changes: > 4. Function is now strict, per discussion. > 5. Return empty array in case when XPath expression detects nothing > (previously, NULL was returned in such case), per discussion. > 6. (bugfix) Work with fragments with prologue: select xpath('/a', > '<?xml version="1.0"?><a /><b />'); // now XML datum is always wrapped > with dummy <x>...</x>, XML prologue simply goes away (if any). > 7. Some cleanup.
Applied. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly