Hi Charles, 

I wrote a small script for myself, together with Leo from our team, to serialize maps directly from XQuery.

https://gist.github.com/3f2731c1211f7188664c
It might not cover each corner-case but is still quite handy.

Hope this helps a little, in the meantime we will investigate whether we will provide an integrated function. 

Hope this helps :-)

Michael
Am 27.03.2012 um 02:05 schrieb Charles Duffy:

Howdy --

Right now, trying to inspect a map (ie. returning one from a query) results in FOTY0012. This is unfortunate from the perspective of allowing users to examine the objects their logic creates. Has thought been given to defining a serialization-friendly way of representing maps, perhaps as XML entities under their own namespace?

_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Am 27.03.2012 um 02:05 schrieb Charles Duffy:

Howdy --

Right now, trying to inspect a map (ie. returning one from a query) results in FOTY0012. This is unfortunate from the perspective of allowing users to examine the objects their logic creates. Has thought been given to defining a serialization-friendly way of representing maps, perhaps as XML entities under their own namespace?

_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk