using XML libs to create XML? where's the benefit?

T

tom

Was looking at DOM and SAX to manipulate XML and it seems to me that these
libraries are most useful for processing already existing XML. I have a
database from which I pull records and then output them from my servlet as
XML. What I'm doing is creating the XML doc manually by iterating through my
record set and putting strings together .... So far I haven't had the need
to take XML input, only output, so, and correct me if I'm wrong, but it
seems to me that there is no real benifit to using the XML libs to create
XML?

-Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top