Hi all,
I've seen that quite a few people use BaseX to pull data from RDBMS's. I've started a project (https://github.com/zadean/pl-sql-BaseX) that goes the other direction. Using DB sessions as BaseX client sessions.
It's currently only for Oracle (maybe postgres would work with only minor changes?) (other DB's to come. maybe :) ) .
Some things just aren't that nice to do in the DB, and the XQuery processors in the DB do their own thing. So, this seemed like a nice way to get the benefits of BaseX from within the DB itself.
Hope it comes in handy!
Happy coding,
Zachary Dean