[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Fast text output from SAX?
You could put one together from the components that make up the Saxon serializer. This would give you a fair bit of configurabilitity: you construct a pipeline that may or may not include modules for doing indentation, CDATA sections, elimination of redundant namespaces, geenration of character references etc. The downside is that you'll have to invest some effort into understanding how the machinery can best be assembled to meet your needs. And I offer no performance guarantees: it tries to be as efficient as it can, but the functionality is fairly rich. Michael Kay > -----Original Message----- > From: Dennis Sosnoski [mailto:dms@s...] > Sent: 13 April 2004 00:41 > To: XML DEV > Subject: Fast text output from SAX? > > Does anyone have a recommendation for a fast SAX2 handler (Java) that > generates text XML output? I need something that's reasonably > complete, > including comments, CDATA sections, etc. Ideally it should > also use the > reported namespace prefix mappings (rather than making up its own > prefixes) and should generate empty elements where appropriate. > > This is for running performance tests related to the binary > XML thread. > I've been using a modified version of David Megginson's XMLWriter for > prior tests, but I don't think that's very optimized and I > want to give > text the best shot I can (without actually writing my own > code for this...). > > Thanks for any suggestions, > > - Dennis > > -- > Dennis M. Sosnoski > Enterprise Java, XML, and Web Services > Training and Consulting > http://www.sosnoski.com > Redmond, WA 425.885.7197 > > > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://www.oasis-open.org/mlmanage/index.php> > >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|