XML to Text questions

Simon St.Laurent simonstl at simonstl.com
Mon Mar 29 20:03:47 BST 1999


At 08:58 AM 3/29/99 -0800, Norman H. Samuelson wrote:
>What tools are available for translation of XML into text?
>
>We are working on a GUI that will write the information needed as input to
>a physics simulation code in XML, and we need to translate that into the
>grammar required by the physics code.
>
>Our goal is a GUI that will work for many different physics codes.  The
>translators are necessary because we do not want to change the physics
>simulation at this time to read XML directly.

You'd have to do some 'roll-your-own' work right now, but it probably
wouldn't be very difficult to write a SAX application (in Java) that does
what you need, taking the events generated by parsing XML and converting
that information into the text format you need.  The MDSAX library has some
display (really output generation) tools that might simplify managing that
process, but you (or another lucky programmer) could probably write a
fairly simple application as long as your XML and your final text output
have similar structures.

More on SAX - http://www.megginson.com/SAX/
More on MDSAX - http://www.jxml.com/mdsax 

Simon St.Laurent
XML: A Primer
Sharing Bandwidth / Cookies
http://www.simonstl.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list