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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] XHTML output


Hi Jason,
I'm not sure the Website stylesheets will meet your requirements.  All the
website stylesheets import the html version of the DocBook stylesheets, not
the xhtml version. So they output HTML 4.01 transitional, not XHTML.  You
could copy the Website stylesheets and change the import statement paths
from html to xhtml. There is more than one import statement, so you will
have to take care to get them all.

If you do that, then you will get XHTML output with a DOCTYPE.

The second problem is that the XHTML stylesheet does not output strict
XHTML. It outputs transitional XHTML, and there is no option to make it
strict.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Jason Lane" <jason@onspeed.com>
To: "Docbook-Apps" <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, December 06, 2005 2:48 AM
Subject: [docbook-apps] XHTML output


> Hi List,
>
> I'm trying to get my output to be XHTML 1.0 Strict. We have a custom
> style sheet thus:
>
> <xsl:import href="chunk-website.xsl" />
>
> <xsl:output encoding="utf-8"
> indent="no"
> method="xml"
> omit-xml-declaration="yes"
> doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
> doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-
> strict.dtd" />
>
> but it does not  insert the DOCTYPE. Where do I change the output?
>
> Many Thanks
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>




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