Methods
A
B
C
D
F
G
H
I
L
N
O
P
R
S
T
X
Included Modules
Attributes
[R] lastargs
Instance Public methods
appendChild(arg0)

IXMLDOMNode appendChild append a child node

IXMLDOMNode arg0 --- newChild [IN]
# File ext/win32ole/sample/xml.rb, line 1624
def appendChild(arg0)
  ret = _invoke(16, [arg0], [VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
attributes()

IXMLDOMNamedNodeMap attributes the collection of the node's attributes

# File ext/win32ole/sample/xml.rb, line 1450
def attributes()
  ret = _getproperty(12, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
baseName()

BSTR baseName the base name of the node (nodename with the prefix stripped off)

# File ext/win32ole/sample/xml.rb, line 1546
def baseName()
  ret = _getproperty(34, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
childNodes()

IXMLDOMNodeList childNodes the collection of the node's children

# File ext/win32ole/sample/xml.rb, line 1410
def childNodes()
  ret = _getproperty(7, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
cloneNode(arg0)

IXMLDOMNode cloneNode

BOOL arg0 --- deep [IN]
# File ext/win32ole/sample/xml.rb, line 1639
def cloneNode(arg0)
  ret = _invoke(19, [arg0], [VT_BOOL])
  @lastargs = WIN32OLE::ARGV
  ret
end
dataType()

VARIANT dataType the data type of the node

# File ext/win32ole/sample/xml.rb, line 1506
def dataType()
  ret = _getproperty(26, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
dataType=(arg0)

VOID dataType the data type of the node

# File ext/win32ole/sample/xml.rb, line 1586
def dataType=(arg0)
  ret = _setproperty(26, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
definition()

IXMLDOMNode definition pointer to the definition of the node in the DTD or schema

# File ext/win32ole/sample/xml.rb, line 1490
def definition()
  ret = _getproperty(23, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
firstChild()

IXMLDOMNode firstChild first child of the node

# File ext/win32ole/sample/xml.rb, line 1418
def firstChild()
  ret = _getproperty(8, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
getAttribute(arg0)

VARIANT getAttribute look up the string value of an attribute by name

BSTR arg0 --- name [IN]
# File ext/win32ole/sample/xml.rb, line 1685
def getAttribute(arg0)
  ret = _invoke(99, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
getAttributeNode(arg0)

IXMLDOMAttribute getAttributeNode look up the attribute node by name

BSTR arg0 --- name [IN]
# File ext/win32ole/sample/xml.rb, line 1713
def getAttributeNode(arg0)
  ret = _invoke(102, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
getElementsByTagName(arg0)

IXMLDOMNodeList getElementsByTagName build a list of elements by name

BSTR arg0 --- tagName [IN]
# File ext/win32ole/sample/xml.rb, line 1740
def getElementsByTagName(arg0)
  ret = _invoke(105, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
hasChildNodes()

BOOL hasChildNodes

# File ext/win32ole/sample/xml.rb, line 1631
def hasChildNodes()
  ret = _invoke(17, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
insertBefore(arg0, arg1)

IXMLDOMNode insertBefore insert a child node

IXMLDOMNode arg0 --- newChild [IN]
VARIANT arg1 --- refChild [IN]
# File ext/win32ole/sample/xml.rb, line 1596
def insertBefore(arg0, arg1)
  ret = _invoke(13, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
lastChild()

IXMLDOMNode lastChild first child of the node

# File ext/win32ole/sample/xml.rb, line 1426
def lastChild()
  ret = _getproperty(9, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
namespaceURI()

BSTR namespaceURI the URI for the namespace applying to the node

# File ext/win32ole/sample/xml.rb, line 1530
def namespaceURI()
  ret = _getproperty(32, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
nextSibling()

IXMLDOMNode nextSibling right sibling of the node

# File ext/win32ole/sample/xml.rb, line 1442
def nextSibling()
  ret = _getproperty(11, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
nodeName()

BSTR nodeName name of the node

# File ext/win32ole/sample/xml.rb, line 1378
def nodeName()
  ret = _getproperty(2, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
nodeType()

DOMNodeType nodeType the node's type

# File ext/win32ole/sample/xml.rb, line 1394
def nodeType()
  ret = _getproperty(4, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
nodeTypeString()

BSTR nodeTypeString the type of node in string form

# File ext/win32ole/sample/xml.rb, line 1466
def nodeTypeString()
  ret = _getproperty(21, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
nodeTypedValue()

VARIANT nodeTypedValue get the strongly typed value of the node

# File ext/win32ole/sample/xml.rb, line 1498
def nodeTypedValue()
  ret = _getproperty(25, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
nodeTypedValue=(arg0)

VOID nodeTypedValue get the strongly typed value of the node

# File ext/win32ole/sample/xml.rb, line 1578
def nodeTypedValue=(arg0)
  ret = _setproperty(25, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
nodeValue()

VARIANT nodeValue value stored in the node

# File ext/win32ole/sample/xml.rb, line 1386
def nodeValue()
  ret = _getproperty(3, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
nodeValue=(arg0)

VOID nodeValue value stored in the node

# File ext/win32ole/sample/xml.rb, line 1562
def nodeValue=(arg0)
  ret = _setproperty(3, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
normalize()

VOID normalize collapse all adjacent text nodes in sub-tree

# File ext/win32ole/sample/xml.rb, line 1748
def normalize()
  ret = _invoke(106, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
ownerDocument()

IXMLDOMDocument ownerDocument document that contains the node

# File ext/win32ole/sample/xml.rb, line 1458
def ownerDocument()
  ret = _getproperty(18, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
parentNode()

IXMLDOMNode parentNode parent of the node

# File ext/win32ole/sample/xml.rb, line 1402
def parentNode()
  ret = _getproperty(6, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
parsed()

BOOL parsed has sub-tree been completely parsed

# File ext/win32ole/sample/xml.rb, line 1522
def parsed()
  ret = _getproperty(31, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
prefix()

BSTR prefix the prefix for the namespace applying to the node

# File ext/win32ole/sample/xml.rb, line 1538
def prefix()
  ret = _getproperty(33, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
previousSibling()

IXMLDOMNode previousSibling left sibling of the node

# File ext/win32ole/sample/xml.rb, line 1434
def previousSibling()
  ret = _getproperty(10, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
removeAttribute(arg0)

VOID removeAttribute remove an attribute by name

BSTR arg0 --- name [IN]
# File ext/win32ole/sample/xml.rb, line 1704
def removeAttribute(arg0)
  ret = _invoke(101, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
removeAttributeNode(arg0)

IXMLDOMAttribute removeAttributeNode remove the specified attribute

IXMLDOMAttribute arg0 --- DOMAttribute [IN]
# File ext/win32ole/sample/xml.rb, line 1731
def removeAttributeNode(arg0)
  ret = _invoke(104, [arg0], [VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
removeChild(arg0)

IXMLDOMNode removeChild remove a child node

IXMLDOMNode arg0 --- childNode [IN]
# File ext/win32ole/sample/xml.rb, line 1615
def removeChild(arg0)
  ret = _invoke(15, [arg0], [VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
replaceChild(arg0, arg1)

IXMLDOMNode replaceChild replace a child node

IXMLDOMNode arg0 --- newChild [IN]
IXMLDOMNode arg1 --- oldChild [IN]
# File ext/win32ole/sample/xml.rb, line 1606
def replaceChild(arg0, arg1)
  ret = _invoke(14, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
selectNodes(arg0)

IXMLDOMNodeList selectNodes execute query on the subtree

BSTR arg0 --- queryString [IN]
# File ext/win32ole/sample/xml.rb, line 1657
def selectNodes(arg0)
  ret = _invoke(29, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
selectSingleNode(arg0)

IXMLDOMNode selectSingleNode execute query on the subtree

BSTR arg0 --- queryString [IN]
# File ext/win32ole/sample/xml.rb, line 1666
def selectSingleNode(arg0)
  ret = _invoke(30, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
setAttribute(arg0, arg1)

VOID setAttribute set the string value of an attribute by name

BSTR arg0 --- name [IN]
VARIANT arg1 --- value [IN]
# File ext/win32ole/sample/xml.rb, line 1695
def setAttribute(arg0, arg1)
  ret = _invoke(100, [arg0, arg1], [VT_BSTR, VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
setAttributeNode(arg0)

IXMLDOMAttribute setAttributeNode set the specified attribute on the element

IXMLDOMAttribute arg0 --- DOMAttribute [IN]
# File ext/win32ole/sample/xml.rb, line 1722
def setAttributeNode(arg0)
  ret = _invoke(103, [arg0], [VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
specified()

BOOL specified indicates whether node is a default value

# File ext/win32ole/sample/xml.rb, line 1482
def specified()
  ret = _getproperty(22, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
tagName()

BSTR tagName get the tagName of the element

# File ext/win32ole/sample/xml.rb, line 1554
def tagName()
  ret = _getproperty(97, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
text()

BSTR text text content of the node and subtree

# File ext/win32ole/sample/xml.rb, line 1474
def text()
  ret = _getproperty(24, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
text=(arg0)

VOID text text content of the node and subtree

# File ext/win32ole/sample/xml.rb, line 1570
def text=(arg0)
  ret = _setproperty(24, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
transformNode(arg0)

BSTR transformNode apply the stylesheet to the subtree

IXMLDOMNode arg0 --- stylesheet [IN]
# File ext/win32ole/sample/xml.rb, line 1648
def transformNode(arg0)
  ret = _invoke(28, [arg0], [VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
transformNodeToObject(arg0, arg1)

VOID transformNodeToObject apply the stylesheet to the subtree, returning the result through a document or a stream

IXMLDOMNode arg0 --- stylesheet [IN]
VARIANT arg1 --- outputObject [IN]
# File ext/win32ole/sample/xml.rb, line 1676
def transformNodeToObject(arg0, arg1)
  ret = _invoke(35, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
xml()

BSTR xml return the XML source for the node and each of its descendants

# File ext/win32ole/sample/xml.rb, line 1514
def xml()
  ret = _getproperty(27, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end