In XML applications, some URL information is often stored as XML data, where the URL parameter may contain Chinese characters. The Chinese characters can be encoded when XML data is parsed with the DOM. However, if only XSLT is used to display XML data (Data.xml Data.xsl), the URL at this time will have an encoded error. Even if the coding type (Encoding = "GB2312"), the same problem will still occur. Test Discover: It is the problem of IE's caching mechanism, IE will still put the new page (the URL of the URL) default to Text / XML
Workaround: 1. Specify the output document type is an XML document (Example: data.xsl)
EXAMPLES:
/ *** DATA.XML *** /
XML Version = "1.0" encoding = "gb2312"?> Xml-stylesheet type = "text / xsl" href = "data.xsl"?>
/ *** DATA.XSL *** /
XML Version = "1.0" encoding = "GB2312"?>
xsl: template> xsl: stylesheet>
/ *** DATA2.XSL *** /
XML Version = "1.0" encoding = "GB2312"?>
xsl: template>
xsl: stylesheet>
: _)