Yes, I agree, that would be the least expensive solution. It seems to be relatively easy to change the code but I am not sure what the full impact would be (SAXSource expects a document) ... probably as Paul suggested sub-classing DocumentSource would be the best solution?
Edwin ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user