This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] add xinclude to set element
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: <sean at enbaya dot co dot za>, <docbook-apps at lists dot oasis-open dot org>
- Date: Sat, 16 Oct 2004 16:56:24 -0700
- Subject: Re: [docbook-apps] add xinclude to set element
- References: <200410152130.27867.sean@enbaya.co.za>
Hi Sean,
Here is how I figure this stuff out. You can browse the DocBook XML DTD at:
http://www.sagehill.net/livedtd/docbookxml43/
If you click on "set" in the list of elements on the left, you'll see that
the content model for set includes %book.class; (as well as a recursive
set). If you click on %book.class; you will see it contains book and
%local.book.class; which you can customize with the usual "| xi:include".
Then the content model for set will have "(set | book | xi:include)" when
all the parameter entities are resolved by the parser.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Sean Wheller" <sean@enbaya.co.za>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, October 15, 2004 12:30 PM
Subject: [docbook-apps] add xinclude to set element
> Hi,
>
> How can I can xi:include to the set element. I am using xinclude.mod.?
>
> When I add xi:include directly to the set element in the DTD it works, but
I
> cannot figure out how to add it to xinclude.mod.
> --
> Sean Wheller
> sean@enbaya.co.za
> http://www.enbaya.co.za
>
>