请教:为什么XSL文件中链接的样式表文件始终读不出来?
<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="text()" >
<xsl:value-of/>
</xsl:template>
<xsl:template match="/">
<html>
<head>
<title>菜单栏</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="images/all.css" rel="stylesheet" type="text/css" />
</head>
<body>
菜单<br/>
<div align="center">
<xsl:for-each select="/data/menu/item">
<a><xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
<xsl:attribute name="target"><xsl:value-of select="@target"/></xsl:attribute>
<xsl:value-of select="text()"/></a><br/><br/>
</xsl:for-each>
</div>
欢迎您,<xsl:value-of select="/data/userinfo/username"/>。<br/>
您现在的级别是:<font color="red"><xsl:value-of select="/data/userinfo/rightname"/></font>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
以上是一个简单的XSL文件,里面的<link href="images/all.css" rel="stylesheet" type="text/css" />一句,怎么都不能把CSS文件调用出来。当然,在HTML文件中和路径都是对的。
这个问题实在很奇怪,不知道其他朋友见过没?请有经验的朋友一定帮忙解决,谢谢