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

VOID abort abort an asynchronous download

# File ext/win32ole/sample/xml.rb, line 1019
def abort()
  ret = _invoke(62, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
appendChild(arg0)

IXMLDOMNode appendChild append a child node

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

BOOL async flag for asynchronous download

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

VOID async flag for asynchronous download

# File ext/win32ole/sample/xml.rb, line 763
def async=(arg0)
  ret = _setproperty(61, [arg0], [VT_BOOL])
  @lastargs = WIN32OLE::ARGV
  ret
end
attributes()

IXMLDOMNamedNodeMap attributes the collection of the node's attributes

# File ext/win32ole/sample/xml.rb, line 547
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 643
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 507
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 864
def cloneNode(arg0)
  ret = _invoke(19, [arg0], [VT_BOOL])
  @lastargs = WIN32OLE::ARGV
  ret
end
createAttribute(arg0)

IXMLDOMAttribute createAttribute create an attribute node

BSTR arg0 --- name [IN]
# File ext/win32ole/sample/xml.rb, line 964
def createAttribute(arg0)
  ret = _invoke(47, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
createCDATASection(arg0)

IXMLDOMCDATASection createCDATASection create a CDATA section node

BSTR arg0 --- data [IN]
# File ext/win32ole/sample/xml.rb, line 945
def createCDATASection(arg0)
  ret = _invoke(45, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
createComment(arg0)

IXMLDOMComment createComment create a comment node

BSTR arg0 --- data [IN]
# File ext/win32ole/sample/xml.rb, line 936
def createComment(arg0)
  ret = _invoke(44, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
createDocumentFragment()

IXMLDOMDocumentFragment createDocumentFragment create a DocumentFragment node

# File ext/win32ole/sample/xml.rb, line 918
def createDocumentFragment()
  ret = _invoke(42, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
createElement(arg0)

IXMLDOMElement createElement create an Element node

BSTR arg0 --- tagName [IN]
# File ext/win32ole/sample/xml.rb, line 910
def createElement(arg0)
  ret = _invoke(41, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
createEntityReference(arg0)

IXMLDOMEntityReference createEntityReference create an entity reference node

BSTR arg0 --- name [IN]
# File ext/win32ole/sample/xml.rb, line 973
def createEntityReference(arg0)
  ret = _invoke(49, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
createNode(arg0, arg1, arg2)

IXMLDOMNode createNode create a node of the specified node type and name

VARIANT arg0 --- type [IN]
BSTR arg1 --- name [IN]
BSTR arg2 --- namespaceURI [IN]
# File ext/win32ole/sample/xml.rb, line 993
def createNode(arg0, arg1, arg2)
  ret = _invoke(54, [arg0, arg1, arg2], [VT_VARIANT, VT_BSTR, VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
createProcessingInstruction(arg0, arg1)

IXMLDOMProcessingInstruction createProcessingInstruction create a processing instruction node

BSTR arg0 --- target [IN]
BSTR arg1 --- data [IN]
# File ext/win32ole/sample/xml.rb, line 955
def createProcessingInstruction(arg0, arg1)
  ret = _invoke(46, [arg0, arg1], [VT_BSTR, VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
createTextNode(arg0)

IXMLDOMText createTextNode create a text node

BSTR arg0 --- data [IN]
# File ext/win32ole/sample/xml.rb, line 927
def createTextNode(arg0)
  ret = _invoke(43, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
dataType()

VARIANT dataType the data type of the node

# File ext/win32ole/sample/xml.rb, line 603
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 755
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 587
def definition()
  ret = _getproperty(23, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
doctype()

IXMLDOMDocumentType doctype node corresponding to the DOCTYPE

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

IXMLDOMElement documentElement the root of the tree

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

IXMLDOMNode firstChild first child of the node

# File ext/win32ole/sample/xml.rb, line 515
def firstChild()
  ret = _getproperty(8, [], [])
  @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 982
def getElementsByTagName(arg0)
  ret = _invoke(50, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
hasChildNodes()

BOOL hasChildNodes

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

IXMLDOMImplementation implementation info on this DOM implementation

# File ext/win32ole/sample/xml.rb, line 659
def implementation()
  ret = _getproperty(39, [], [])
  @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 821
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 523
def lastChild()
  ret = _getproperty(9, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
load(arg0)

BOOL load load document from the specified XML source

VARIANT arg0 --- xmlSource [IN]
# File ext/win32ole/sample/xml.rb, line 1011
def load(arg0)
  ret = _invoke(58, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
loadXML(arg0)

BOOL loadXML load the document from a string

BSTR arg0 --- bstrXML [IN]
# File ext/win32ole/sample/xml.rb, line 1028
def loadXML(arg0)
  ret = _invoke(63, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
namespaceURI()

BSTR namespaceURI the URI for the namespace applying to the node

# File ext/win32ole/sample/xml.rb, line 627
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 539
def nextSibling()
  ret = _getproperty(11, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
nodeFromID(arg0)

IXMLDOMNode nodeFromID retrieve node from it's ID

BSTR arg0 --- idString [IN]
# File ext/win32ole/sample/xml.rb, line 1002
def nodeFromID(arg0)
  ret = _invoke(56, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end
nodeName()

BSTR nodeName name of the node

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

DOMNodeType nodeType the node's type

# File ext/win32ole/sample/xml.rb, line 491
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 563
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 595
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 747
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 483
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 731
def nodeValue=(arg0)
  ret = _setproperty(3, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
ondataavailable=(arg0)

VOID ondataavailable register an ondataavailable event handler

# File ext/win32ole/sample/xml.rb, line 803
def ondataavailable=(arg0)
  ret = _setproperty(69, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
onreadystatechange=(arg0)

VOID onreadystatechange register a readystatechange event handler

# File ext/win32ole/sample/xml.rb, line 795
def onreadystatechange=(arg0)
  ret = _setproperty(68, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
ontransformnode=(arg0)

VOID ontransformnode register an ontransformnode event handler

# File ext/win32ole/sample/xml.rb, line 811
def ontransformnode=(arg0)
  ret = _setproperty(70, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
ownerDocument()

IXMLDOMDocument ownerDocument document that contains the node

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

IXMLDOMNode parentNode parent of the node

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

IXMLDOMParseError parseError get the last parser error

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

BOOL parsed has sub-tree been completely parsed

# File ext/win32ole/sample/xml.rb, line 619
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 635
def prefix()
  ret = _getproperty(33, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
preserveWhiteSpace()

BOOL preserveWhiteSpace indicates whether the parser preserves whitespace

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

VOID preserveWhiteSpace indicates whether the parser preserves whitespace

# File ext/win32ole/sample/xml.rb, line 787
def preserveWhiteSpace=(arg0)
  ret = _setproperty(67, [arg0], [VT_BOOL])
  @lastargs = WIN32OLE::ARGV
  ret
end
previousSibling()

IXMLDOMNode previousSibling left sibling of the node

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

I4 readyState get the state of the XML document

# File ext/win32ole/sample/xml.rb, line 675
def readyState()
  ret = _getproperty(-525, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end
removeChild(arg0)

IXMLDOMNode removeChild remove a child node

IXMLDOMNode arg0 --- childNode [IN]
# File ext/win32ole/sample/xml.rb, line 840
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 831
def replaceChild(arg0, arg1)
  ret = _invoke(14, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
resolveExternals()

BOOL resolveExternals indicates whether the parser resolves references to external DTD/Entities/Schema

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

VOID resolveExternals indicates whether the parser resolves references to external DTD/Entities/Schema

# File ext/win32ole/sample/xml.rb, line 779
def resolveExternals=(arg0)
  ret = _setproperty(66, [arg0], [VT_BOOL])
  @lastargs = WIN32OLE::ARGV
  ret
end
save(arg0)

VOID save save the document to a specified desination

VARIANT arg0 --- desination [IN]
# File ext/win32ole/sample/xml.rb, line 1037
def save(arg0)
  ret = _invoke(64, [arg0], [VT_VARIANT])
  @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 882
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 891
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 579
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 571
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 739
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 873
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 901
def transformNodeToObject(arg0, arg1)
  ret = _invoke(35, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end
url()

BSTR url get the URL for the loaded XML document

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

BOOL validateOnParse indicates whether the parser performs validation

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

VOID validateOnParse indicates whether the parser performs validation

# File ext/win32ole/sample/xml.rb, line 771
def validateOnParse=(arg0)
  ret = _setproperty(65, [arg0], [VT_BOOL])
  @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 611
def xml()
  ret = _getproperty(27, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end