swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML and Swarm


From: Marcus G. Daniels
Subject: Re: XML and Swarm
Date: 09 May 2002 07:51:01 -0600
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7

>>>>> "JM" == Marshall, James A R <address@hidden> writes:

JM> I'm thinking that XML would be a good way to specify input
JM> data (events, environment configuration, etc.) as our simulation
JM> requires extensive configuration with reasonably complex
JM> (heirarchical) data structures, and it would be beneficial to have
JM> these configuration files in a human-readable format. I was just
JM> wondering if anyone had any experience in using XML with Swarm
JM> that they might share with me, particularly in Java?

It isn't hard to use a DOM library in Java, but you might also take a
look at using the h5gen and h5view programs that work with HDF5.
These programs allow you to read and write XML for a HDF5 file.  The
advantages are that 1) data will be stored using precise types (and
there will be additional checking for correctness), and 2) Swarm can
load and save objects using its normal serialization methods.

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]