RE: [xsl] Copy DocType

Subject: RE: [xsl] Copy DocType
From: bryan.s.schnabel@xxxxxxxxxxxxxx
Date: Thu, 14 Jun 2001 15:11:16 -0700
>You cannot specify an internal subset, 
>and you must hard-code the string used for 
>the SYSTEM or PUBLIC identifier.

I guess if you HAD to you could specify an internal subset with a less than
elegant approach, like:

<xsl:template match="MyRootElement">
 <xsl:text disable-output-escaping="yes">&lt;!DOCTYPE MYDOC SYSTEM
&quot;mydoc.dtd&quot; [some entity declaration]&gt;</xsl:text>
    . . .

 XSL-List info and archive:

Current Thread