OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: 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/.
>
>
>




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