XTL runtime object

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

I4 absoluteChildNumber

IXMLDOMNode arg0 --- pNode [IN]
# File ext/win32ole/sample/xml.rb, line 5597
def absoluteChildNumber(arg0)
  ret = _invoke(191, [arg0], [VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
ancestorChildNumber(arg0, arg1)

I4 ancestorChildNumber

BSTR arg0 --- bstrNodeName [IN]
IXMLDOMNode arg1 --- pNode [IN]
# File ext/win32ole/sample/xml.rb, line 5589
def ancestorChildNumber(arg0, arg1)
  ret = _invoke(190, [arg0, arg1], [VT_BSTR, VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
appendChild(arg0)

IXMLDOMNode appendChild append a child node

IXMLDOMNode arg0 --- newChild [IN]
# File ext/win32ole/sample/xml.rb, line 5504
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 5338
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 5434
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 5298
def childNodes()
  ret = _getproperty(7, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
childNumber(arg0)

I4 childNumber

IXMLDOMNode arg0 --- pNode [IN]
# File ext/win32ole/sample/xml.rb, line 5580
def childNumber(arg0)
  ret = _invoke(189, [arg0], [VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
cloneNode(arg0)

IXMLDOMNode cloneNode

BOOL arg0 --- deep [IN]
# File ext/win32ole/sample/xml.rb, line 5519
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 5394
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 5466
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 5378
def definition()
  ret = _getproperty(23, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
depth(arg0)

I4 depth

IXMLDOMNode arg0 --- pNode [IN]
# File ext/win32ole/sample/xml.rb, line 5572
def depth(arg0)
  ret = _invoke(188, [arg0], [VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
firstChild()

IXMLDOMNode firstChild first child of the node

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

BSTR formatDate

VARIANT arg0 --- varDate [IN]
BSTR arg1 --- bstrFormat [IN]
VARIANT arg2 --- varDestLocale [IN]
# File ext/win32ole/sample/xml.rb, line 5625
def formatDate(arg0, arg1, arg2=nil)
  ret = _invoke(194, [arg0, arg1, arg2], [VT_VARIANT, VT_BSTR, VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
formatIndex(arg0, arg1)

BSTR formatIndex

I4 arg0 --- lIndex [IN]
BSTR arg1 --- bstrFormat [IN]
# File ext/win32ole/sample/xml.rb, line 5606
def formatIndex(arg0, arg1)
  ret = _invoke(192, [arg0, arg1], [VT_I4, VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
formatNumber(arg0, arg1)

BSTR formatNumber

R8 arg0 --- dblNumber [IN]
BSTR arg1 --- bstrFormat [IN]
# File ext/win32ole/sample/xml.rb, line 5615
def formatNumber(arg0, arg1)
  ret = _invoke(193, [arg0, arg1], [VT_R8, VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
formatTime(arg0, arg1, arg2=nil)

BSTR formatTime

VARIANT arg0 --- varTime [IN]
BSTR arg1 --- bstrFormat [IN]
VARIANT arg2 --- varDestLocale [IN]
# File ext/win32ole/sample/xml.rb, line 5635
def formatTime(arg0, arg1, arg2=nil)
  ret = _invoke(195, [arg0, arg1, arg2], [VT_VARIANT, VT_BSTR, VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
hasChildNodes()

BOOL hasChildNodes

# File ext/win32ole/sample/xml.rb, line 5511
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 5476
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 5314
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 5418
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 5330
def nextSibling()
  ret = _getproperty(11, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
nodeName()

BSTR nodeName name of the node

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

DOMNodeType nodeType the node's type

# File ext/win32ole/sample/xml.rb, line 5282
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 5354
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 5386
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 5458
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 5274
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 5442
def nodeValue=(arg0)
  ret = _setproperty(3, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
ownerDocument()

IXMLDOMDocument ownerDocument document that contains the node

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

IXMLDOMNode parentNode parent of the node

# File ext/win32ole/sample/xml.rb, line 5290
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 5410
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 5426
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 5322
def previousSibling()
  ret = _getproperty(10, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
removeChild(arg0)

IXMLDOMNode removeChild remove a child node

IXMLDOMNode arg0 --- childNode [IN]
# File ext/win32ole/sample/xml.rb, line 5495
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 5486
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 5537
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 5546
def selectSingleNode(arg0)
  ret = _invoke(30, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
specified()

BOOL specified indicates whether node is a default value

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

BSTR text text content of the node and subtree

# File ext/win32ole/sample/xml.rb, line 5362
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 5450
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 5528
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 5556
def transformNodeToObject(arg0, arg1)
  ret = _invoke(35, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
uniqueID(arg0)

I4 uniqueID

IXMLDOMNode arg0 --- pNode [IN]
# File ext/win32ole/sample/xml.rb, line 5564
def uniqueID(arg0)
  ret = _invoke(187, [arg0], [VT_BYREF|VT_DISPATCH])
  @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 5402
def xml()
  ret = _getproperty(27, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end