This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] inserting general entities


Hi René

just use a xinclude, that's simpler and has more style ;-)

use the following tag is your main document:
<xi:include href="bibliography.xml"
xmlns:xi="http://www.w3.org/2003/XInclude";></xi:include>

now you must use the parameter --xinclude, if you use xsltproc.
if you use an other xslt-processors, have a look at the manual.

greetings

roger@bufferoverflow.ch

René Haché wrote:

>Hi everyone,
>
>I am having a really difficult time understanding entities (character and
>general).
>
>The DTD in my DocBook document looks like this:
>
><!DOCTYPE set SYSTEM "C:\studies\tools\dtd\docbookx.dtd" [
>    <!ENTITY section1 SYSTEM "section1.xml">
>    <!ENTITY section2 SYSTEM "section2.xml">
>    <!ENTITY section3 SYSTEM "section3.xml">
>]>
>
>However, I have hundreds of these general entities and I would like to
place
>them externally from my main DocBook XML file. I have tried putting the
>entity declarations in "dbgenent.mod" but it doesn't work. I have read both
>Norm's and Bob's books but obviously I am missing something.
>
>Thanks,
>René
>
>
>
>To unsubscribe from this list, send a post to
docbook-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>


To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]