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 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 | kate.wringe@sybase.com | www.sybase.com

 


Peter Desjardins <peter.desjardins.us@gmail.com>

07/26/2010 03:51 PM

To
Kate.Wringe@sybase.com
cc
DocBook Technical Committee <docbook-tc@lists.oasis-open.org>, docbook@lists.oasis-open.org
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]