[Contrib: Evaluation System] Preferred methods for XML processing?

Thomas Amsler tpamsler at ucdavis.edu
Tue Jan 5 09:51:59 PST 2010


I have used:

- xstream : http://xstream.codehaus.org/
Best,
-- Thomas




On Tue, Jan 5, 2010 at 9:00 AM, Jim Eng <jimeng at umich.edu> wrote:
> I am working on the import/export code we have discussed recently (http://jira.sakaiproject.org/browse/EVALSYS-763
> ).  Part of the problem is conversion of an XML document to one or
> more java objects and storing or updating them in the database.
>
> In the existing code, that is done by reading an XML Document object
> from a file input stream and then query the Document object for
> particular elements, sub-elements and attributes and then explicitly
> invoking constructors and setters to create the objects and store them
> in the database.
>
> Here's my first question:  Is there a better way?  (For extra points,
> describe the better way, rather than just answering "yes" or "no").
>
> Here's my second question:  Any suggestions about preferred XML parsers?
>
> Thanks.
>
> Jim
>
>
> _______________________________________________
> evaluation mailing list
> evaluation at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/evaluation
>
> TO UNSUBSCRIBE: send email to evaluation-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>


More information about the evaluation mailing list