我的以下 xml 文件为何ie中显示一个空白页??
蝈蝈俊 2001-05-29 04:34:00 1.xml
<?xml version='1.0' encoding='gb2312'?>
<?xml:stylesheet type='text/xsl' href='2.xsl'?>
<Ftopics>
<Ftopic>
<id>2429</id>
<author>ghj1976</author>
<classname>Visual Basic</classname>
<title>国际社会关注中美撞机事件</title>
<readnum>21</readnum>
<doctype>10</doctype>
<time>2001-4-4 11:10:00</time>
</Ftopic>
<Ftopic>
<id>2428</id>
<author>ghj1976</author>
<classname>Visual C++</classname>
<title>ddddddd</title>
<readnum>4</readnum>
<doctype>10</doctype>
<time>2001-4-4 10:57:15</time>
</Ftopic>
<Ftopic>
<id>2415</id>
<author>ghj1976</author>
<classname>Visual C++</classname>
<title>参加鼎盛军事论坛讨论之前您必须仔细阅读并同意下列条款</title>
<readnum>1</readnum>
<doctype>30</doctype>
<time>2001-3-23 17:29:26</time>
</Ftopic>
</Ftopics>
2.xsl
<?xml version="1.0" encoding='gb2312'?>
<xsl:stylesheet xmlns:xsl="http;//www.w3.org/TR/WD-xsl" xmlns="http://www.w3.org/TR/REC-html40" result-ns="">
<xsl:template match="/">
<html>
<HEAD>
<style type="text/css">
.fst{padding:0px 15px;width:615px;background:#feeecc;border-left:1px solid #000000;border-right:1px solid #000000}
.fstdiv3 img{border:0px;border-right:8px solid #FFFFFF;border-top:6px solid #FFFFFF}
</style>
<script language="javascript">
<!--//
function CheckForm()
{
document.form1.content.value=document.form1.doc_html.value;
return true
}
function isEmpty(s)
{
return ((s == null) || (s.length == 0))
}
function submit()
{
CheckForm();
if (isEmpty(document.form1.title.value))
{
alert('文件的标题总要写些吧,不写点东西???') ;
return false;
}
if (isEmpty(document.form1.content.value))
{
alert('内容总要写些吧,不写点东西???') ;
return false;
}
return true;
}
function fubmitok()
{
if (submit())
{
document.form1.submit();
}
}
//-->
</script>
<title>中国软件--文件交流BBS</title>
</HEAD>
<body bgcolor="#ffffff" topmargin="0" marginheight="5" leftmargin="0" marginwidth="5">
<!--#include virtual="main_top.htm"-->
<xsl:for-each select="Ftopics/Ftopic">
<table border="0" cellspacing="0" cellpadding="0" bordercolorlight="#000000" bordercolordark="#FFFFFF" width="650" style="font-size:9pt">
<tr><td align="center">
<table border="0" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#000000" bordercolordark="#FFFFFF" width="95%" style="font-size:9pt">
<tr bgcolor="#CCFFCC">
<td width="420">
<xsl:value-of select="title"/>
</td>
<td width="180">
<xsl:value-of select="time"/>
</td>
</tr></table></td></tr></table>
</xsl:for-each>
<!--#include virtual="main_bottom.htm"-->
</body>
</html>
</xsl:template>
</xsl:stylesheet>
谢谢,其中有很多无用的代码。^&^