[jdom-interest] SAXOutputter suggestion

Colin Green col at clinkstreet.com
Thu Mar 29 12:12:54 PST 2001


How's about providing a public SAXOutputter.output(Element) method.

I've been experimenting with a modified SAXOutputter feeding a Xalan Serializer
that I'm also using as a SAX ContentHandler to compose XML documents without
having to build a JDOM of the whole thing in memory, and it works a treat.

I've done it by adding this:

public void output(Element el)
throws JDOMException
	element(el, new NamespaceStack());

to SAXOutputter.

I'd just like to know if I'm doing anything stupid and also whether you think
it would be a useful feature.

Colin Green

More information about the jdom-interest mailing list