Further experimentation with this and it appears switch_xml_bind_search_function is the way to go with this, very cool.  BTW this is not very well documented on WIKI
Once the wiki is up, I will write-up something on how to do this.
Thanks!


On Thu, Feb 20, 2014 at 8:37 AM, Vik Killa <vipkilla@gmail.com> wrote:
Ahh, i think i understand. 
I need to use my module to format the PostgreSQL data in XML inside C and pass it to the
switch_xml_bind_search_function()
<snip>