q: writing xml is not as easy as it looks

Mark Cheek mcheek at NetVendor.com
Sat Jun 26 00:32:32 BST 1999

i'm going to go out on a limb here... please bear with me.  i'm
relatively new to java and to xml, so i'm still on the curve...
programmatically, i have to write an xml document that must be validated
against a given dtd.  i do not even know where to begin.. i could, of
course, use the FileWriter to write to an ascii file, but there must be
a better way!  is it possible for me to construct an xml document in
memory (using the DOM packages? the SAX packages?) and then write the
xml document to a file using IBM or Sun's parser??  with all of the java
source and tools out there, is there anything that will help me to write
a valid xml document when my xml data is in multiple locations and my
dtd is not static?
yes, i've checked xmlsoftware.com, xmlinfo.com, IBM's alphaWorks,
jxml.com, etc - i have the reader/parser side of my project working
great.. but i'm having difficulties building my xml documents (data
comes from multiple databases) and then writing them to a file for our
customers.... suggestions? thank you!
thanks for your time,

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