OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Do you have a Java SAX event handler that outputs the identical XML as the input?


ContentHandler ch = ((SAXTransformerFactory)transformerFactory).getTransformerHandler();
ch.setResult(new StreamResult(.....))

and ch is the SAX event handler you are looking for.

Michael Kay
+44 (0118) 946 5893

On 15 Jul 2014, at 18:51, Costello, Roger L. <costello@mitre.org> wrote:

> Hello Folks,
> I need a Java SAX event handler that outputs the same XML as the input XML.
> Do you have such a Java SAX event handler that you would be willing to share?
> /Roger
> _______________________________________________________________________
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS