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] Unhappy XEP: anchor as child of section


On 09-Apr-3, at 10:34 AM, Thomas Schraitle wrote:
> On Freitag, 3. April 2009, David Priest wrote:
>> [...]
>>> Is there a reason why do you not use the xml:id attribute? If it's
>>> just for cross-referencing, xml:id is the perfect match.
>>
>> Because the xinclude does not copy the section element.  The xml:id
>> never makes it into the master document: only its children are  
>> copied.
>
> Hmn, I'm a bit confused. Let's say, you have a file foo.xml which  
> contains
> a section. To include it into your master document you just write:
>
> <xi:include href="foo.xml"/>
>
> Nothing else. :) Everything from foo.xml, including your section, is
> incorporated into your master document.

I do not want the section included, nor its title.  As I wrote in the  
original question, the xincludes usually look something like this:

<xi:include
	href="source.xml"
        xpointer="xmlns(db=http://docbook.org/ns/docbook)
		xmlns(xi=http://www.w3.org/2001/XInclude)
		xpointer(//db:section[@xml:id='section_id']/db:title/following- 
sibling::*)"
/>

The source files are structured differently from the master document;  
the master document combines content from several sections,  
interspersed with customer-directed verbiage.

CONFIDENTIALITY NOTICE:  This electronic mail message and any attachment hereto may contain confidential information of Meyer Sound Laboratories, Incorporated and is intended for the personal and confidential use of the designated recipient(s) only.  If you are not the intended recipient (or responsible for delivering the message to the intended recipient), you have received this message in error and any review, distribution, or copying of this message or any attachment hereto is prohibited.  If you have received this message in error, please promptly notify the sender and permanently delete it from your computer.


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