This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: !DOCTYPE element in xsl
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: !DOCTYPE element in xsl
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 16 Oct 2000 14:30:16 +0100
- Reply-To: xsl-list at mulberrytech dot com
You can't generate an arbitrary DOCTYPE declaration in XSLT, but you can
generate a simple one:
<xsl:output method="xml"
doctype-system="http://www.dlmeta.de/dlmeta/2000/DLmeta.html"/>
> I am using
>
> <xsl:variable
> name="url">http://www.dlmeta.de/dlmeta/2000/DLmeta.html</xsl:varia
> ble>
> <xsl:value-of disable-output-escaping="yes"
> select="concat('<!DOCTYPE
> BWDLmet a SYSTEM "', $url, '"> ')"/>
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list