The only 'solution' I could come up with was to copy and edit the original
xhtml/docbook.xsl to remove the doctype-public and doctype-system attributes
from the xsl:output element in the stylesheet file. Then the customization
layer imports this customized version.
Bob Stayton
Sagehill Enterprises
----- Original Message -----
From: "Mauritz Jeanson" <>
To: "'Johnson, Eric'" <>; "'docbook-apps'"
<>
Sent: Monday, December 03, 2007 1:22 PM
Subject: RE: [docbook-apps] Weird olink database error
>> -----Original Message-----
>> From: Johnson, Eric
>>
>> The latest snag I've hit is that when building the olink target data
>> base using the xhtml chunking sheet set to only build the target
>> database, Saxon adds a blank line followed by the XHTML DOCTYPE to the
>> top of the file. I worked around this by switching to the html version
>> of the style sheet, but since we generate the docs in xhtml,
>> it would be
>> better if I could use the xhtml version.
>
>
> This thread on XSL-list describes what I think is the root cause of the
> problem:
> http://www.biglist.com/lists/xsl-list/archives/200610/msg00026.html
>
> As you can see, there does not seem to be any solution.
>
> /MJ
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>
>
>