Is there a way in basex to join 2 databases together? I have 2 databases I would like to join based on an ID. I have found examples in xquery but they don't seem to work in basex.
Thank you for your time,
Craig
Hi Craig,
sure - joining is possible, maybe you could post some example code?
The general idea is: for $x in doc('db1') for $y in doc('db2') where $x/@id eq $y/@id return <r> <x>{$x}</x> <y>{$y}</y> </r>
Hope this helps to get you started :-)
Michael
Am 22.06.2011 um 17:19 schrieb Craig Girard:
Is there a way in basex to join 2 databases together? I have 2 databases I would like to join based on an ID. I have found examples in xquery but they don't seem to work in basex.
Thank you for your time,
Craig_______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de