Hi Geert,

Yes, I've looked at "full" - way too verbose and I'm very well aware of JSON is 
ill-suited for hierarchical content.

Thanks,
David

From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert Josten
Sent: Thursday, April 13, 2017 9:47 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] json:config for XML schema


Hi David,

That sounds like a very large xsd. Keep in mind JSON is not very well suited 
for inline elements. I reckon you looked at the full strategy option of 
json:config? Rather verbose, but simple, and reliable roundtrip..

Cheers,
Geert

From: 
<general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>>
 on behalf of "Steiner, David J. (LNG-DAY)" 
<david.j.stei...@elsevier.com<mailto:david.j.stei...@elsevier.com>>
Reply-To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Date: Thursday, April 13, 2017 at 3:18 PM
To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Subject: [MarkLogic Dev General] json:config for XML schema

Has anyone developed a method (utility?) of converting a XML Schema into custom 
strategy?

I've briefly looked at xml4js but from what I gleaned, it seems like you have 
to go through and enter every import/include and I'm starting with 44 imports 
in the first xsd and each of those probably has imports as well.

Thanks,
David


_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to