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: <xsl:output doctype-system="name_of_DTD"/>


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


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