Hi Peter,

Our solution does not allow us to use the Xpointer scheme. Because the 
Xpointer scheme is only a W3 Recommendation,
we are relunctant to support it (also, it is difficult to find XML 
authoring tools that support it).

Thank you,
Kate
..........................................................................................................................................................................................................................
 



Kate Wringe | Tech Writer 2| Sybase
445 Wes Graham Way, Waterloo, ON, N2L 6R2 Canada | Tel: (519) 883-6838 | 
[email protected] | www.sybase.com 

 



Peter Desjardins <[email protected]> 
07/26/2010 03:51 PM

To
[email protected]
cc
DocBook Technical Committee <[email protected]>, 
[email protected]
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/secti...@id='myID']/*"
          xmlns:xi="http://www.w3.org/2001/XInclude"; />
</chapter>

Peter Desjardins


Reply via email to