[xsl] Re: <xsl:output doctype-system="name_of_DTD"/>

Subject: [xsl] Re: <xsl:output doctype-system="name_of_DTD"/>
From: Dan Diebolt <dandiebolt@xxxxxxxxx>
Date: Mon, 14 May 2001 06:01:21 -0700 (PDT)
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"/>
  &#xA;
 </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


Current Thread