I'm trying to transform an XML document via XSLT where the result of the
tranformation gets postprocessed by an XMLFilter. I am using the dom4j
and JAXP APIs. I do this by pushing the result of the transformation
into a SAXResult that gets instantiated with the filter as argument. The
actual filter is an object of class XMLWriter that writes its output
into a StringWriter.
My problem: everything works fine when I use one XMLWriter to filter the
SAX events. But I would like to chain filters to provide further
processing of the transformation result. I tried to do this by calling
the #setParent method with no success. I tried some other variations
with no luck. No more than the filter is called that is passed
in the SAXResult constructor.
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG