On Wed, Feb 22, 2006 at 11:31:53PM +1100, Michael Abbott wrote:
> what I want to use in this circumstance?  The DOM would probably be more
> appropriate for what I'm trying to do, it just appeared that SAX was
> better suited to this kind of hacky include mechanism -- maybe there's a
> mechanism within the DOM for this?

  All this is not conformant.
For a real, already implemented include mechanisme see XInclude
   http://www.w3.org/TR/xinclude/
   http://xmlsoft.org/html/libxml-xinclude.html

Now if you really still need to process non conformant inclusion you
can try to use xmlParseInNodeContext:
  http://xmlsoft.org/html/libxml-parser.html#xmlParseInNodeContext

But there is no normative description of that API, since it's not standard

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to