This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: !DOCTYPE element in xsl


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('&lt;!DOCTYPE
> BWDLmet a SYSTEM &quot;', $url, '&quot;&gt; &#10; &#10;')"/>
> 
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]