Re: [docbook] inserting general entities

From
"Cob Rtayton"
Date
2004-06-16T22:45:11+00:00
ID
047501c453f3$fbeedc30$6501a8c0@toshiro
Thread
Re: [docbook] inserting general entities
There is more to XIncludes than just sticking one in your file, especially
if you are using Saxon. The processor needs to be able to resolve XIncludes,
and you may want to consider validation.  There is a pretty complete
discussion of XIncludes in my book:

http://www.sagehill.net/docbookxsl/ModularDoc.html

Bob Stayton
Sagehill Enterprises
DocBook Consulting


----- Original Message ----- 
From: "René Haché" <>
To: "Roger Meier" <>
Cc: <>
Sent: Wednesday, June 16, 2004 1:11 PM
Subject: RE: [docbook] inserting general entities

> Roger,
>
> When you write this:
> use the following tag is your main document:
> <xi:include href="bibliography.xml"
> xmlns:xi="http://www.w3.org/2003/XInclude"></xi:include>
>
> I am assuming you meant "in your main document" as opposed to "is". When I
> do put it this way in my main document it doesn't validate. Do you have to
> do something else to the DTD or does it not matter to the Saxon processor?
>
> Just for fun, here is a little DocBook document I tested with (which
didn't
> validate):
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <!DOCTYPE set SYSTEM "C:\studies\tools\dtd\docbookx.dtd">
>
> <?xml-stylesheet type="text/xsl"
> href="C:\studies\tools\xsl\xhtml\docbook.xsl"?>
>
> <set>
> <title>Test Document Studies</title>
>    <xi:include href="book3.xml"
> xmlns:xi="http://www.w3.org/2003/XInclude">
> </xi:include>
> </set>
>
> Obviously, I am using Saxon on Windows machine
>
> Thanks,
> René
> __________________________________________________________________
>
>
>
> To unsubscribe from this list, send a post to
, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>