日期:2014-05-18  浏览次数:20881 次

操作成功完成。处理资源 'http://localhost/SMSWeb/xml/AddressBook.xslt' 时出错
<?xml   version= "1.0 "   encoding= "gb2312 "   ?>
<stylesheet   version= "1.0 "   xmlns= "http://www.w3.org/1999/XSL/Transform ">
<xsl:template   match= "/ ">
          <xsl:apply-templates   select= "Card "   />    
</xsl:template>

<xsl:template   match= "Card ">
        <table   width=100%   border=1>
            <tr>
                  <td>
                        <b> <xsl:value-of   select   = "Name "> </xsl:value-of> </b>
                  </td>
                  <td>
                        <b> <xsl:value-of   select= "Email "> </xsl:value-of> </b>
                  </td>
            </tr>
       
        </table>
</xsl:template>
</stylesheet>

   
上面是源码,一执行就报如下的错误:
无法显示   XML   页。  
使用   XSL   样式表无法查看   XML   输入。请更正错误然后单击   刷新按钮,或以后重试。  


--------------------------------------------

操作成功完成。处理资源   'http://localhost/SMSWeb/xml/AddressBook.xslt '   时出错。第   3   行,位置:   25  

<xsl:template   match= "/ ">

 
请各位帮忙!

------解决方案--------------------
up