SAX is an XML parser API. It does not provide you with any functionality to modify XML documents.
There are plenty of alternative ways of creating and updating XML documents. For example have a look at
JDOM.
Andy Bowes<br />SCJP, SCWCD<br />I like deadlines, I love the whoosing noise they make as they go flying past - Douglas Adams