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


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
bobs@sagehill.net


----- Original Message ----- 
From: "René Haché" <rene-hache@shaw.ca>
To: "Roger Meier" <roger@bufferoverflow.ch>
Cc: <docbook@lists.oasis-open.org>
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
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]