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: Copy DocType


>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>
  <MyRootElement>
    . . .
  </MyRootElement>
</xsl:template>

 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]