OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] xinclude-question


> -----Original Message-----
> From: Robert.Buergel@bmw.de 

> 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




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]