<script language="javascript">
var checks = document.getElementsByName("urlcheckbox");
function checkOthers(){
   var b = false;
   for(var i = 0; i < checks.length; i++) {
     if(checks[i].checked == false) {
   checks[i].disabled == true;
}
   }
}
</script>
我这么写的话,程序报错:Multiple annotations found at this line:
- Missing end tag "checks.length"
- Element type "checks.length" must be followed by either attribute specifications, ">" or "/
 >".
- Tag missing closing bracket '>'就是因为i<checks.length 这里的小于号在xslt文件里不被识别,请问应该用什么替换这个小于号呢?

解决方案 »

  1.   

    此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
    楼主【wudileiyu】截止到2008-07-21 17:03:49的历史汇总数据(不包括此帖):
    发帖的总数量:41                       发帖的总分数:1840                     每贴平均分数:44                       
    回帖的总数量:53                       得分贴总数量:13                       回帖的得分率:24%                      
    结贴的总数量:37                       结贴的总分数:1690                     
    无满意结贴数:0                        无满意结贴分:0                        
    未结的帖子数:4                        未结的总分数:150                      
    结贴的百分比:90.24 %               结分的百分比:91.85 %                  
    无满意结贴率:0.00  %               无满意结分率:0.00  %                  
    值得尊敬
      

  2.   

    \< 可以吗?呵呵!我想不应该是 &lt;
      

  3.   

    我的xslt文件的上面是这么配置的,需要修改哪里么?
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:variable name="imgPath">../style/default/images/</xsl:variable>
    <xsl:output method="html" media-type="text/xml"/>
    <xsl:variable name="RVCP">_RVC_</xsl:variable>
    <xsl:variable name="Sp">$$</xsl:variable>
    <xsl:variable name="MenuH">_MH_</xsl:variable>
    <xsl:variable name="IMG">_IMG_</xsl:variable>
    <xsl:template match="Menu">
    <html>
    <head>
      

  4.   

    我的xslt文件的上面是这么配置的,需要修改哪里么?
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:variable name="imgPath">../style/default/images/</xsl:variable>
    <xsl:output method="html" media-type="text/xml"/>
    <xsl:variable name="RVCP">_RVC_</xsl:variable>
    <xsl:variable name="Sp">$$</xsl:variable>
    <xsl:variable name="MenuH">_MH_</xsl:variable>
    <xsl:variable name="IMG">_IMG_</xsl:variable>
    <xsl:template match="Menu">
    <html>
    <head>