RSS 在IE和FF中显示不同的问题,急,谢谢!
RSS在FF中显示正常,但是在IE中就显示RSS的代码了,如下:
- <rss version= "2.0 ">
- <channel>
<title id= "RSSTag1_RSSTitle "> Advantech Press Room </title>
<link id= "RSSTag1_RSSLink "> http://localhost/eventnews/news.asp </link>
<description id= "RSSTag1_RSSDesc "> Advantech News </description>
<language id= "RSSTag1_RSSLang "> en-us </language>
- <item>
<title> Advantech Honored with the 3rd Corporate Social Responsibility Award for the “Industry-Academy Cooperation Program” </title>
<description />
<pubDate> 2007-5-14 0:00:00 </pubDate>
<link> http://localhost/eventnews/CMScontent.asp?doc_id={0DA3A414-C247-4B17-97D7-D58BF54F8C0 </link>
</item>
- <item>
<title> Advantech Showcases Integrated Video Surveillance and Building/Home Automation Solutions at SecuTech ‘07 </title>
<description />
<pubDate> 2007-3-27 0:00:00 </pubDate>
<link> http://localhost/eventnews/CMScontent.asp?doc_id={206366F5-605A-4A83-BCF3-D6225C1D1AB </link>
</item>
。。。。。。
不知道这是什么原因?求帮忙!谢谢!
[解决办法]
这是因为浏览器处理方式的不同,ie7以后才有直接浏览的功能的。ie7之前必须使用xsl转换的