This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: <xsl:output doctype-system="name_of_DTD"/>
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Re: <xsl:output doctype-system="name_of_DTD"/>
- From: Dan Diebolt <dandiebolt at yahoo dot com>
- Date: Mon, 14 May 2001 06:01:21 -0700 (PDT)
- Cc: Stephane dot Le-Deaut at alcatel dot fr
- Reply-To: xsl-list at lists dot mulberrytech dot com
I beleive the <<doctype-system>> attribute must be a literal string so
you will have to send the system identifier out using disable
output escaping. You can use a top level pamameter if the identifier
isn't in your source XML.
Regards,
Dan
-----------------
<xsl:param name="doctype-system"/>
<xsl:template match="/">
<xsl:text disable-output-escaping="yes">
<![CDATA[<!DOCTYPE Delivery SYSTEM >]]>
<xsl:value-of select="$doctype-system"/>


</xsl:text>
...
</xsl:tempalte>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list