Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disable-output-escaping and doctype-system NOT WORKING

Status
Not open for further replies.

cRODEEkrank

Technical User
Dec 5, 2001
41
0
0
US
I have the following XSL stylesheet:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl=" <xsl:eek:utput method="xml" omit-xml-declaration="yes" doctype-system="NimsNamePayload.dtd" doctype-public="NimsNamePayload.dtd" />
<xsl:template match="CDATA">
<xsl:text disable-output-escaping="yes"/>
</xsl:template>

</xsl:stylesheet>

The expected result of this is to display a <!DOCTYPE in the resulting output file and also to display the "<" and ">" and not the entities &lt; &rt;. However, after doing a transformation, there's no "<!DOCTYPE" and the angle brackets are all entities. Can someone help find out what's wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top