[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Kay <mike@s...>
  • To: "Costello, Roger L." <costello@m...>
  • Date: Tue, 15 Jul 2014 23:50:57 +0100

Do:

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

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

Michael Kay
Saxonica
mike@s...
+44 (0118) 946 5893



On 15 Jul 2014, at 18:51, Costello, Roger L. <costello@m...> 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@l...
> subscribe: xml-dev-subscribe@l...
> 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member