I spend hours searching google, javadocs and forums to no end.
Several documents mention that similar to SAX, StAX supports chaining XSLT transformations.
Does anybody know how to do that?
Thanks in advance!
If your goal it to chain them to avoid building intermediate trees, then you'd need a streaming XSLT implementation. I'm not aware of any one myself, and even if there is one, if wouldn't handle the complete XSLT language.
If your goal is to write some code that chains XSLT transforms in a readable manner (and not the performance implications of it) have a look at the documentation for XMLFilter and SAXTransformerFactory.newXMLFilter().
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.