From: Wolfgang M. <wol...@ex...> - 2012-09-07 07:24:41
|
Hi Chris, > In addition to the reversibility argument: > > - My API which provides JSON using json.xq (slightly modified) has been > published and is in use. > > - Unless the serialization makes a distinction between elements and attributes, > there will be ambiguity if an attribute and an element have the same name. Ok, I added a serialization option "prefix-attributes=yes|no" to the JSON serializer (5 minutes work). The default is "no". Just add it to your other serialization options. Wolfgang |