Re: [xml] (Hacky) XML includes
- From: Daniel Veillard <veillard redhat com>
- To: Michael Abbott <mabster internode on net>
- Cc: xml gnome org
- Subject: Re: [xml] (Hacky) XML includes
- Date: Wed, 22 Feb 2006 07:55:16 -0500
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/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]