Bielik, Robert wrote:
I currently use Xerces-C 2.1.0 and Xalan-C 1.0 . As neither supports XInclude, I was thinking of doing a rudimentary implementation by inserting a SAX handler before the standard SAX handler. Whenever I see a xi:include element, I simply open a new SAX parser with the href, and pass the current content-handler onto that parser. Makes sense... and more importantly, would it work ? (given constraints due to Xalan design)
Within certain limits. See http://xincluder.sourceforge.net/apidoc/com/elharo/xml/xinclude/SAXXIncluder.html XInclude really isn't designed for a streaming parser though. -- Elliotte Rusty Harold [EMAIL PROTECTED] XML in a Nutshell 3rd Edition Just Published! http://www.cafeconleche.org/books/xian3/ http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]