疯了:为什么title不显示?
研究半天,怎么越来越不明白了,请高手测试一下为什么下面的程序显示时没有title的值
aaa.xml
<?xml version="1.0" encoding="gb2312" ?>
<?xml-stylesheet type="text/xsl" href="Style.xsl" ?>
<Topic>
<item>
<author xh="2">fdsfds</author>
<title>fsd</title>
<time>03/09/17</time>
</item>
<item>
<author xh="3"> </author>
<title>注意注意注意注意注意注意注意注意注意注意注意注意注意注意注意注意注意注意注意注意</title>
<time>03/09/17</time>
</item>
<item>
<author xh="4"> </author>
<title>fds</title>
<time>03/09/17</time>
</item>
<item>
<author xh="5">fsda</author>
<title>fdas</title>
<time>03/09/17</time>
</item>
<item>
<author xh="6">fdas</author>
<title>fsda</title>
<time>03/09/17</time>
</item>
<item>
<author xh="7">西宁</author>
<title>西宁城北法院刑附民赔偿理赔到位</title>
<time>03/09/19</time>
</item>
<item>
<author xh="8"> </author>
<title>邗江法院跟踪考察制度见成效制度见成效制度见成效</title>
<time>03/09/19</time>
</item>
<item>
<author xh="9"> </author>
<title>焦作中院法官培训中心挂牌成立</title>
<time>03/09/19</time>
</item>
<item>
<author xh="10"> </author>
<title>你好,这是最新法规的第一条记录</title>
<time>03/09/19</time>
</item>
<item>
<author xh="11"> </author>
<title>你好,这是法院新闻的第一条测试记录</title>
<time>03/09/19</time>
</item>
<item>
<author xh="12"> </author>
<title>最高院院长亲自来我院考查</title>
<time>03/09/19</time>
</item>
<item>
<author xh="13"> </author>
<title>信息摘编维护的第一记录,这是一个测试</title>
<time>03/09/22</time>
</item>
<item>
<author xh="14"> </author>
<title>测试一篇行政公文</title>
<time>03/09/22</time>
</item>
<item>
<author xh="15"> </author>
<title>fds</title>
<time>03/09/24</time>
</item>
<item>
<author xh="16"> </author>
<title>fsdfdsfds</title>
<time>03/09/24</time>
</item>
<item>
<author xh="17"> </author>
<title>fdsfds</title>
<time>03/09/24</time>
</item>
<item>
<author xh="18"> </author>
<title>fdsfsd</title>
<time>03/09/24</time>
</item>
<item>
<author xh="19"> </author>
<title>fdsfffffffffffffffffffff</title>
<time>03/09/24</time>
</item>
</Topic>
===================================================
Style.xsl
<?xml version="1.0" encoding="GB2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html>
<head>
<title>XML测试程序(排序、检索、分页)</title>
<style>
body{ font: 12px "宋体", "Arial", "Times New Roman"; }
table{ font-size: 12px; border: 0px double; border-color: #99CC99 #99CC99 #CCCCCC #CCCCCC; cellpadding:3;cellspacing:3; bgcolor:#eeeeee; text-decoration: blink}
span{ font-size: 12px; color: red; }
</style>
<SCRIPT LANGUAGE="javascript"><xsl:comment><![CDATA[
]]>//</xsl:comment></SCRIPT>
</head>
<body onload="window_onload()">
<p align="center"><span>文章信息浏览</span></p>
<div id="xmldata">
<xsl:for-each select="Topic/item" >
<xsl:element name="item">
<xsl:element name="author">
<xsl:value-of select="author" />
</xsl:element>
<xsl:element name="author">
<xsl:value-of select="author" />
</xsl:element>
<xsl:element name="title">
<xsl:value-of select="title" />
</xsl:element>
<xsl:element name="time">
<xsl:value-of select="time" />
</xsl:element>
</xsl:element>
<br/>
</xsl:for-each>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
===========================
谢谢·真打击学习XML的劲头呀,这些问题