Open jeffjanes opened 9 years ago
i have been looking at something a bit similar and found XQuery. Using XQuery syntax you can create all the logic to search, parse and modify the XML to return just the contents as you want it and to restructure it on the fly to the formats you need on output.
I am considering to use it to build an XML FDW based on BaseX as the target engine to hold the XML.
If a create foreign table with type xml, is it possible to get the full child xml tree, not just the text from the tree?
And if /tmp/text.xml is
Because thing2 is defined to be of type
xml
, I'd like it to return the xml fragment, rather than just a concatenation of all the textual contents as it does now.