RE: [docbook-apps] xinclude-question

From
Mauritz Jeanson <>
Date
2007-11-21T19:03:45+00:00
ID
000001c82c71$2c69d8c0$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] xinclude-question
> -----Original Message-----
> From:  

> Any experiments like:
> 
>       <xi:include href="file.xml"
> 
>           xpointer="xpointer(/descendant::section[@id!='A3.3'])"
> 
>           xmlns:xi="http://www.w3.org/2001/XInclude"/>
> 
> doesn't work, because the <section id="A3"> ist completely included.
> 
> Any ideas how to include all section exept the <section id="A3.3">?



I don't think is is possible to do an inclusion of an element with the
exception of a particular child or descendant of that element.

Note that the specification of XPointer's xpointer() scheme
(http://www.w3.org/TR/xptr-xpointer/) never advanced further than Working
Draft, and it is not well supported. libxml2 is probably the only software
library that attempts to implement it. 

/MJ