XStream (http://xstream.codehaus.org) is a nice xml <-> java object converter, if you're working on the java side.

Seems as though their website is down right this second, though...

Eric

Paul M wrote:
Hi All:

Though usually not recommended, if I were required to take XML from a MarkLogic Repository and convert it to an object within Java, what would be the best approach if:

The XML snippet being returned from ML follows a specific known schema. (I believe there are some tools available?)
The XML snippet contains multiple objects
<books><book rec="1"><title>hi</title></book></books>
The fastest method to ingest an XML snippet to Java object (vs the most usable or vs some other metric.)

P.S. What if I wanted a generic object that can be used by multiple systems (java, c++, etc)

How have you accomplished similar tasks?



------------------------------------------------------------------------

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to