Is there something like that to do the opposite, ie, given a DOM tree, how do I get it into a single String or StringBuffer.
Thanks, Scott Sanders > create a java.io.StringReader, then create a org.xml.sax.InputSource from > the StringReader. Pass the input source into the parse() method and you are > home free. >> I have some data in a StringBuffer. These data are XML. I'd like to parse >> them. How can I "feed" the DOM parser wo/ writing a file ?
