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] Modular DocBook


Hi,

the xincludes must be resolved before the XSL is applied. See
http://www.sagehill.net/docbookxsl/Xinclude.html

your code is fine, however I recommend you add the namespace
declarations and XML header to your sections too:

<?xml version="1.0" encoding="utf-8"?>
<section version="5.0" xmlns="http://docbook.org/ns/docbook";
  xmlns:xi="http://www.w3.org/2001/XInclude";
  xmlns:xlink="http://www.w3.org/1999/xlink";>



Camille.

Betty Ing wrote:
> Hello,
>
> I have created two sections that I would like to integrate into a
> chapter. I have based my own files on Bob Stayton's Ch. 23 Modular
> DocBook Files. After transformation from xml to html, I cannot navigate
> to the two sections. There is likely some elementary error that I'm not
> seeing, but I'm new to DocBook.
>
> Using the xsltproc transform for HTML and the chunk.xls style sheet,
> I'm getting the following errors:
>
> ---------
> Element include in namespace 'http://www.w3.org/2001/XInclude'
> encountered in chapter, but no template matches.
>
> Element include in namespace 'http://www.w3.org/2001/XInclude'
> encountered in chapter, but no template matches.
>
> Writing index.html for chapter
>
> ---------
>
> Thanks in advance for reviewing my code.
>
> Betty
>   
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
begin:vcard
fn;quoted-printable:Camille B=C3=A9gnis
n;quoted-printable:B=C3=A9gnis;Camille
org:NeoDoc
adr:;;139 rue Philippe de Girard;Pertuis;;84120;France
email;internet:camille@neodoc.biz
tel;work:+33.9.54.96.99.55
tel;fax:+33.9.59.96.99.55
tel;cell:+33.6.33.15.10.23
url:http://www.neodoc.biz
version:2.1
end:vcard



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