Re: xpath not a good replacement for xpath_string - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: xpath not a good replacement for xpath_string
Date
Msg-id 200907291312.36924.peter_e@gmx.net
Whole thread Raw
In response to Re: xpath not a good replacement for xpath_string  (pgsql@mohawksoft.com)
Responses Re: xpath not a good replacement for xpath_string  (pgsql@mohawksoft.com)
List pgsql-hackers
On Tuesday 28 July 2009 23:30:23 pgsql@mohawksoft.com wrote:
> The thing that perplexed me was that it was not obvious from the docs how,
> exactly, to get the functionality that was simple and straight forward in
> XML2.

I continue to be in favor of adding

xpath_string
xpath_number
xpath_boolean

functions, which would be both easier to use and provide a more casting-free 
approach to pass the data around.  In the past there were some doubts and 
objections about that, but I think it could be done.


pgsql-hackers by date:

Previous
From: Brendan Jurd
Date:
Subject: Re: WIP: to_char, support for EEEE format
Next
From: Fujii Masao
Date:
Subject: Revised signal multiplexer patch