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

Subject: RE: XSL + SAX
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 27 Jan 2004 12:44:16 -0000
> 
> Hello everyone,
> 
> I want to apply two succesive transformations to a document:
> 
> 1. A XSLT transformation using a XSL file.
> 2. A SAX transformation having as source the result of the 
> first transformation.
> 
> Right now I can do this using an intermediate file, which 
> obviously isn't a nice approach. Is there a way to 
> "concatenate" these two transformations without using an 
> intermediate file ?
> 

There are various ways of doing this in JAXP, but if (2) is written as a
SAX2 ContentHandler then you can simply supply wrap it in a SAXResult
object and supply it as the result object for the transformation.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • XSL + SAX
    • Veina Razvan - Tue, 27 Jan 2004 04:42:46 -0500 (EST)
      • Michael Kay - Tue, 27 Jan 2004 07:44:14 -0500 (EST) <=
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member