[xml] Re: xinclude question



Daniel Veillard wrote:

On Sat, Nov 22, 2003 at 02:43:45PM +0100, Enno Rehling wrote:

  You will have to do it. By definition, the XInclude process is a recursive
one, once you have generated the Infoset you're not supposed to be able to
go back to the initial structure, libxml2 is just nice in the sense that
it keeps markers to do this kind of things, but it's definitely not
a default processing, i.e. you will have to write that custom extension.

Okay, then the next question should obviously be: Is there a way I can hook into the xmlSave* routines to do this, or will I end up rewriting all those as well? I'm obviously looking for a way to do this where I end up replicating the least amount of already existing code.

Enno.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]