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? /Nils
Author and all-around good cowpoke
posted 14 years ago
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.