[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Trax and how to pass parameters to
On Thu, Feb 26, 2004 at 09:39:29AM -0000, Michael Kay wrote: > You can't. There's a recent thread on the Saxon forum about this: > http://sourceforge.net/forum/forum.php?thread_id=1027851&forum_id=94027 Okay, this gave me enought to *finally* figure it out. > > The answer is, instead of generating your transformation as an XMLFilter, > use a SAXTransformerHandler. You can still pipeline transformations, and in > many ways the code is easier. Though I'm still not sure how to do this in pure SAX, I can do it using the javax.transform class. I think it would be worth posting my code somewhere. While it might seem really easy to set up chains for those fluent in java, it proved extremelly frustrating until I finally came across the few lines of codes that did the trick. When I first came across XSLT, I thought it was the most intuitive, easy-to-understand language (and still do). In contrast, using javax is the most unintuitive. I've come across so many different ways to form a chain, and many of the examples were so close to what I needed that they were tantalizing. Thanks for your tip. Paul -- ************************ *Paul Tremblay * *phthenry@xxxxxxxxxxxxx* ************************ 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
|