Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xslt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xslt IE10-Iframe-to-xml-to-xsl文件不显示为IE9中的格式_Xslt - Fatal编程技术网

Xslt IE10-Iframe-to-xml-to-xsl文件不显示为IE9中的格式

Xslt IE10-Iframe-to-xml-to-xsl文件不显示为IE9中的格式,xslt,Xslt,我的页面可以在Chrome/Mozilla/IE9中使用,但不能在IE10中使用 我有一个.asp文件,其中包含一个。 iframe src=.xml文件。 .xml文件包含以下代码 <?xml-stylesheet type="text/xsl" href="Test.xsl"?> 然后,该.xsl文件具有告诉浏览器如何格式化xml数据的代码 在IE9中,一切都是完美的。在IE10中,iframe显示xml数据并忽略xsl格式 .xml文件的顶部包含以下内容: <?

我的页面可以在Chrome/Mozilla/IE9中使用,但不能在IE10中使用

我有一个.asp文件,其中包含一个。 iframe src=.xml文件。 .xml文件包含以下代码

    <?xml-stylesheet type="text/xsl" href="Test.xsl"?>
然后,该.xsl文件具有告诉浏览器如何格式化xml数据的代码

在IE9中,一切都是完美的。在IE10中,iframe显示xml数据并忽略xsl格式

.xml文件的顶部包含以下内容:

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="Test.xsl"?>
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
然后是所有的数据

.xsl文件的顶部包含以下内容:

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="Test.xsl"?>
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
然后是所有格式化数据

我试着加上这个

<meta http-equiv="X-UA-Compatible" content="IE=8" />
那么这个

<meta http-equiv="X-UA-Compatible" content="IE=9" />
在头部标签下,但没有固定

任何帮助都将不胜感激。完整的页面代码很长,这就是为什么我没有包括它