// the parent is the rootReader
this.rootReader.setContentHandler(this.currentParent);;
// Set content handler for the end of the chain : serializer
this.currentParent.setResult(new SAXResult(this.serializerContentHandler));
} else {
// Build the transformer chain on the fly
TransformerHandler newParent=logicsheet.getTransformerHandler();
// the currentParent is the parent of the new logicsheet filter
this.currentParent.setResult(new SAXResult(newParent));
// reset the new parent and the contentHanlder
this.currentParent = newParent;
this.currentParent.setResult(new SAXResult(this.serializerContentHandler));
}
}