日期:2014-05-17  浏览次数:20598 次

照书打的,它说对象不支持这样的属性或方法"title.value",我哪儿错了?
<html   xmlns:notes>
<head>
    <title> 认识数据岛和应用数据岛 </title>
    <script   language= "vbscript ">
      sub   show_data()
        MsgBox   "0 ",0
        title.value           =xmldata.XMLDocument.documentElement.childNodes.item(0).text
        author.value         =xmldata.XMLDocument.documentElement.childNodes.item(1).text
        publisher.value   =xmldata.XMLDocument.documentElement.childNodes.item(2).text
        pubtime.value       =xmldata.XMLDocument.documentElement.childNodes.item(3).text
        price.value           =xmldata.XMLDocument.documentElement.childNodes.item(4).text
        abstract.value     =xmldata.XMLDocument.documentElement.childNodes.item(5).text  
      end   sub
    </script>
</head>
<body   onclick= "show_data() ">
    <h3   align= "center "> Cool-Brain新书快讯 </h3>
    <notes:text   style= "display:block;position:relative;top:-3%;font-size:25;font-weight:bold;text-decoration:underline;text-indent:30;color:red; ">
        Cool-Brain购书中心将以最快最准确的速度为你介绍最新最好的图书!要看新书介绍,请在窗口中单击鼠标.
    </notes:text>
    <xml   src= "4_6.xml "   id= "xmldata "> </xml>
    <table   border= "1 "   cellpadding= "2 "   align= "center ">
        <tr>   <th   align= "left "> 书名 </th>
          <td> <input   type= "text "   size= "40 "   name= "title "> </td>
        </tr>
        <tr>   <th   align= "left "> 出版社 </th>
          <td> <input   type= "text "   size= "40 "   name= "publisher "> </td>
        </tr>
        <tr>   <th   align= "left "> 出版时间 </th>
          <td> <input   type= "text "   size= "40 "   name= "pubtime "> </input> </td>
        </tr>
        <tr>   <th   align= "left "> 价格 </th>
          <td> <input   type= "text "   size= "40 "   name= "price "> </input> </td>
        </tr>
        <tr>   <th   align= "left "> 摘要 </th>
          <td> <textarea   rows= "16 "   cols= "38 "   name= "abstract "> </textarea> </td>
        </tr>
        <tr>   <th   align= "left "