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] eliminate doctype statement


> -----Original Message-----
> From: chris.chiasson@gmail.com 
> 
> Is it possible to eliminate the doctype declaration at the beginning
> of the xhtml output using docbook xsl 1.69? If so, how? Using
> <xsl:output doctype-public"" doctype-system=""/> does not work; the
> doctype just has "" for its' public and system identifiers.


There does not seem to be a way of making an importing stylesheet suppress
the generation of a DOCTYPE declaration (I assume that this is what you are
trying to do).

"A stylesheet may contain multiple xsl:output elements and may include or
import stylesheets that also contain xsl:output elements. All the xsl:output
elements occurring in a stylesheet are merged into a single effective
xsl:output element. For the cdata-section-elements attribute, the effective
value is the union of the specified values. For other attributes, the
effective value is the specified value with the highest import precedence."
(http://www.w3.org/TR/xslt#output)

See also http://www.w3.org/Bugs/Public/show_bug.cgi?id=2422 for a
discussion.

/MJ




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