Subject: RE: Passing Parameters to member of a Filter Chain
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 17 Sep 2003 04:43:10 +0100
|
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
|