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
>
> <!DOCTYPE DLmeta SYSTEM "http://www.dlmeta.de/dlmeta/2000/DLmeta.dtd";
> 	[<!ENTITY %LocalInclude SYSTEM
> "http://www.dlmeta.de/local/2000/ariadne/ariadne_local.dtd";>
> 	%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:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread