xsl-list
[Top] [All Lists]

RE: Passing Parameters to member of a Filter Chain

2003-09-16 20:43:10
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(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Jeffrey Winter
Sent: 15 September 2003 15:53
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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



<Prev in Thread] Current Thread [Next in Thread>