RE: [xsl] expanding !DOCTYPE tag

Subject: RE: [xsl] expanding !DOCTYPE tag
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 5 Feb 2001 14:10:01 -0000
> 	[<!ENTITY %LocalInclude SYSTEM
> "";>
> 	%LocalInclude;
> 	]>
> How would I declare this in my style sheet? Is there any special
> attribute in the <xsl:stylesheet> tag which I can use for
> this (such as doctype-system)?

You can create a simple doctype-declaration using the doctype-system and
doctype-public attributes of <xsl:output>, but for anything else you have to
hand-craft it using disable-output-escaping.

Alternatively there is (as always) a Saxon extension <saxon:doctype>...

Mike Kay

 XSL-List info and archive:

Current Thread