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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] Sections and topics


Hi.

I have had this problem many times also. I was able to make it work by
xi:include-ing only the children of the source element. I was
resolving the xi:includes using xsltproc so I was able to use
xpointers that might not work in other processors.

My xi:includes looked something like this (I can't remember the exact
xpointer syntax):

<chapter id="myID">
     <xi:include
          href="file.xml"
          xpointer="xpointer(/book/chapter/section[@id='myID']/*"
          xmlns:xi="http://www.w3.org/2001/XInclude"; />
</chapter>

Peter Desjardins


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