2005-10-21

XMLDOM手册

来源: 本站收集整理 作者:佚名 评论 0 条
  lastChild Returns the last child node for this node nextSibling Returns the next sibling node. Two nodes are siblings if they have the same parent node nodeName Returns the nodeName, depending on the type nodeType Returns the nodeType as a number nodeValue Returns, or sets, the value of this node, depending on the type ownerDocument Returns the root node of the document parentNode Returns the parent node for this node previousSibling Returns the previous sibling node. Two nodes are siblings if they have the same parent node

  W3C规定的方法:
Method Description
appendChild(newChild) Appends the node newChild at the end of the child nodes for this node
cloneNode(boolean) Returns an exact clone of this node. If the boolean value is set to true, the cloned node contains all the child nodes as well
hasChildNodes() Returns true if this node has any child nodes
insertBefore(newNode,refNode) Inserts a new node, newNode, before the existing node, refNode
removeChild(nodeName) Removes the specified node, nodeName
replaceChild(newNode,oldNode) Replaces the oldNode, with the newNode

  (5)NodeList的W3C规定的属性和方法。

Property Description
length Returns the number of nodes in a nodeList

Method Description
item Returns a specific node in the nodeList

XMLHTTP对象及其方法
------------------
MSXML中提供了Microsoft.XMLHTTP对象,能够完成从数据包到Request对象的转换以及发送任务。
创建XMLHTTP对象的语句如下:
Set objXML = CreateObject("Msxml2.XMLHTTP") 或
Set objXML = CreateObject(“Microsoft.XMLHTTP”)
共5页: 上一页 [1] [2] 3 [4] [5] 下一页

(本文仅表明作者个人观点,不代表本站及其管理员立场.) 推荐 收藏 投稿 打印 返回 关闭
上一篇:了解DB2数据库优化的几条策略  
下一篇:用XML和XSL来生成动态页面
    评论加载中…
 热门排行
 推荐文章
     

 相关文章
网站首页  -  网站地图 -   站长论坛  -  网站投稿  -    -  网站管理
Copyright © 2008 芜湖站长站 All Rights Reserved 皖ICP备07500611号