[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Passing Parameters to member of a Filter Chain
No, JAXP 1.2 doesn't allow parameters to be passed to a transformer embedded in an XMLFilter. But there are other ways of building a SAX pipeline using JAXP, look at the SAXTransformerHandler approach. Michael Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Jeffrey Winter > Sent: 15 September 2003 15:53 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Passing Parameters to member of a Filter Chain > > > > Is it possible to pass parameters to > a stylesheet that is part of a filter chain? > > I have a filter chain comprised of one or > more stylesheets along with custom XMLFilters > written in Java. > > The stylesheet filters are loaded using the > standard newXMLFilter() method: > > XMLFilter stylesheet; > Source source = new StreamSource("test.xsl"); > > stylesheet = factory.newXMLFilter(source); > > Is is possible to pass values to xsl:param if > used in the manner? > > Thanks - Jeff > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|