On 3/21/06, Klotz, Leigh <Leigh.Klotz at xerox.com> wrote: > > Dave, > TagSoup has a small SAX serializer you could start from if you need example > code for writing your own. > Leigh. > You could also start with samples/sax/XMLWriter.java in the JDOM distribution. See the writeAttributes method.