[XML-SIG] Python and DOM

M.-A. Lemburg mal@lemburg.com
Tue, 12 Mar 2002 22:07:09 +0100


Norman Samuelson wrote:
> 
> We are developing a GUI, named Cyclops, that makes heavy use of XML.  The
> purpose of the GUI is to edit input files for large physics simulation
> codes, which have very large sets of input parameters.  The interface is
> defined in an XML file for each physics code we support.  This allows one
> GUI to support many physics codes.  Cyclops writes its output in XML, which
> is then translated by Xalan/Xerces to the format required by that physics
> code.  The toughest part of the project is writing input translators, codes
> that read the old text file format and transform it into XML.  We have done
> some of those translators in Perl, but we are considering Python for the
> next one.

I'd suggest to write parsers similar to the ones used in BioPython
which are based on mxTextTools. These are typically very fast and
pretty much do the same for biotech data files (ie. convert them to
XML).

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                   http://www.egenix.com/files/python/