File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
XML and Related Technologies
Write an XML file with SAX?
Joined: May 25, 2001
Mar 06, 2002 14:15:00
Am I able to write an XML file from the beginning using SAX? (beginning = write tags etc from scratch)Or is it only possible to parse the existing XML file with SAX?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Mar 06, 2002 21:43:00
You can write a class that generates a complete set of SAX events just as if it was parsing a document and connect it to one of the stock SAX transformers to create output. Thats what Cocoon does - sorry I can't remember the exact class right now.
I agree. Here's the link:
subject: Write an XML file with SAX?
help the new bie ..
Search and Replace text nodes
Java-XML and Xml-java
a problem about transforming Big xml to HTML
difference between SAX and DOM?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014