Hi,

I have an xml structure with elements in 2 different namespaces. While 
attempting to transform this xml structure to JSON using a custom configuration 
(json:config function at http://docs.marklogic.com/json:config), I realized 
that the configuration mapping assumes the existence of only one namespace.
For example:
map:put($config,"element-namespace","http://some/namespace";)
...and this has the accompanying
map:put($config,"element-namespace-prefix","sn")

Is it possible to circumvent this apparent limitation in the json:config 
function so that I can reference the elements in the different namespaces 
within the same custom transformation? So far, I have not used the lower level 
functions but have stuck to json:transform-to-json(). Perhaps that will be the 
right path to follow...

Thanks!
Nivaldo
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to