2010/8/20 Leonard Wörteler <leonard.woerteler@uni-konstanz.de>

the XQJ binding traverses the DOM tree by itsself (which will be changed
in the near future because of the ecxcessive complexity related to
finding and declaring implicitly declared namespaces...). I'm currently
working on a more stable approach. I therefor wouldn't recommend taking
the old code as reference.

Yes - aside from the bug I recently alerted you to I believe there are more bugs in the current code (I've seen xmlns="" being added by BaseX in some interior nodes.) 
 
 - Godmar