XMLBeans (http://xmlbeans.apache.org/) is what I've always used.
 
Doug Glidden 
Software Engineer 
The Boeing Company 
[email protected] 


  _____  

From: Paul M [mailto:[email protected]] 
Sent: Thursday, July 02, 2009 11:45
To: [email protected]
Subject: [MarkLogic Dev General] xml to object



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

Reply via email to