This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: expanding !DOCTYPE tag
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] expanding !DOCTYPE tag
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Mon, 5 Feb 2001 14:10:01 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
>
> <!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