W3C-DOM XML Document
- A
- B
- C
- D
- F
- G
- H
- I
- L
- M
- N
- O
- P
- R
- S
- T
- U
- V
- X
| [R] | clsid | |
| [R] | dispatch | |
| [R] | lastargs | |
| [R] | progid |
Source: show
# File ext/win32ole/sample/xml.rb, line 5650 def initialize(obj = nil) @clsid = "{2933BF90-7B36-11D2-B20E-00C04F983E60}" @progid = "Microsoft.XMLDOM.1.0" if obj.nil? @dispatch = WIN32OLE.new(@progid) else @dispatch = obj end end
VOID abort abort an asynchronous download
Source: show
# File ext/win32ole/sample/xml.rb, line 6210 def abort() ret = @dispatch._invoke(62, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode appendChild append a child node
IXMLDOMNode arg0 --- newChild [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6040 def appendChild(arg0) ret = @dispatch._invoke(16, [arg0], [VT_BYREF|VT_DISPATCH]) @lastargs = WIN32OLE::ARGV ret end
BOOL async flag for asynchronous download
Source: show
# File ext/win32ole/sample/xml.rb, line 5890 def async() ret = @dispatch._getproperty(61, [], []) @lastargs = WIN32OLE::ARGV ret end
VOID async flag for asynchronous download
Source: show
# File ext/win32ole/sample/xml.rb, line 5954 def async=(arg0) ret = @dispatch._setproperty(61, [arg0], [VT_BOOL]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNamedNodeMap attributes the collection of the node's attributes
Source: show
# File ext/win32ole/sample/xml.rb, line 5738 def attributes() ret = @dispatch._getproperty(12, [], []) @lastargs = WIN32OLE::ARGV ret end
BSTR baseName the base name of the node (nodename with the prefix stripped off)
Source: show
# File ext/win32ole/sample/xml.rb, line 5834 def baseName() ret = @dispatch._getproperty(34, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNodeList childNodes the collection of the node's children
Source: show
# File ext/win32ole/sample/xml.rb, line 5698 def childNodes() ret = @dispatch._getproperty(7, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode cloneNode
BOOL arg0 --- deep [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6055 def cloneNode(arg0) ret = @dispatch._invoke(19, [arg0], [VT_BOOL]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMAttribute createAttribute create an attribute node
BSTR arg0 --- name [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6155 def createAttribute(arg0) ret = @dispatch._invoke(47, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMCDATASection createCDATASection create a CDATA section node
BSTR arg0 --- data [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6136 def createCDATASection(arg0) ret = @dispatch._invoke(45, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMComment createComment create a comment node
BSTR arg0 --- data [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6127 def createComment(arg0) ret = @dispatch._invoke(44, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMDocumentFragment createDocumentFragment create a DocumentFragment node
Source: show
# File ext/win32ole/sample/xml.rb, line 6109 def createDocumentFragment() ret = @dispatch._invoke(42, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMElement createElement create an Element node
BSTR arg0 --- tagName [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6101 def createElement(arg0) ret = @dispatch._invoke(41, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMEntityReference createEntityReference create an entity reference node
BSTR arg0 --- name [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6164 def createEntityReference(arg0) ret = @dispatch._invoke(49, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode createNode create a node of the specified node type and name
VARIANT arg0 --- type [IN]
BSTR arg1 --- name [IN]
BSTR arg2 --- namespaceURI [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6184 def createNode(arg0, arg1, arg2) ret = @dispatch._invoke(54, [arg0, arg1, arg2], [VT_VARIANT, VT_BSTR, VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMProcessingInstruction createProcessingInstruction create a processing instruction node
BSTR arg0 --- target [IN]
BSTR arg1 --- data [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6146 def createProcessingInstruction(arg0, arg1) ret = @dispatch._invoke(46, [arg0, arg1], [VT_BSTR, VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMText createTextNode create a text node
BSTR arg0 --- data [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6118 def createTextNode(arg0) ret = @dispatch._invoke(43, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
VARIANT dataType the data type of the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5794 def dataType() ret = @dispatch._getproperty(26, [], []) @lastargs = WIN32OLE::ARGV ret end
VOID dataType the data type of the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5946 def dataType=(arg0) ret = @dispatch._setproperty(26, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode definition pointer to the definition of the node in the DTD or schema
Source: show
# File ext/win32ole/sample/xml.rb, line 5778 def definition() ret = @dispatch._getproperty(23, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMDocumentType doctype node corresponding to the DOCTYPE
Source: show
# File ext/win32ole/sample/xml.rb, line 5842 def doctype() ret = @dispatch._getproperty(38, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMElement documentElement the root of the tree
Source: show
# File ext/win32ole/sample/xml.rb, line 5858 def documentElement() ret = @dispatch._getproperty(40, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode firstChild first child of the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5706 def firstChild() ret = @dispatch._getproperty(8, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNodeList getElementsByTagName build a list of elements by name
BSTR arg0 --- tagName [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6173 def getElementsByTagName(arg0) ret = @dispatch._invoke(50, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
BOOL hasChildNodes
Source: show
# File ext/win32ole/sample/xml.rb, line 6047 def hasChildNodes() ret = @dispatch._invoke(17, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMImplementation implementation info on this DOM implementation
Source: show
# File ext/win32ole/sample/xml.rb, line 5850 def implementation() ret = @dispatch._getproperty(39, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode insertBefore insert a child node
IXMLDOMNode arg0 --- newChild [IN]
VARIANT arg1 --- refChild [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6012 def insertBefore(arg0, arg1) ret = @dispatch._invoke(13, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode lastChild first child of the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5714 def lastChild() ret = @dispatch._getproperty(9, [], []) @lastargs = WIN32OLE::ARGV ret end
BOOL load load document from the specified XML source
VARIANT arg0 --- xmlSource [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6202 def load(arg0) ret = @dispatch._invoke(58, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end
BOOL loadXML load the document from a string
BSTR arg0 --- bstrXML [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6219 def loadXML(arg0) ret = @dispatch._invoke(63, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
Source: show
# File ext/win32ole/sample/xml.rb, line 5660 def method_missing(cmd, *arg) @dispatch.method_missing(cmd, *arg) end
BSTR namespaceURI the URI for the namespace applying to the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5818 def namespaceURI() ret = @dispatch._getproperty(32, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode nextSibling right sibling of the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5730 def nextSibling() ret = @dispatch._getproperty(11, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode nodeFromID retrieve node from it's ID
BSTR arg0 --- idString [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6193 def nodeFromID(arg0) ret = @dispatch._invoke(56, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
BSTR nodeName name of the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5666 def nodeName() ret = @dispatch._getproperty(2, [], []) @lastargs = WIN32OLE::ARGV ret end
DOMNodeType nodeType the node's type
Source: show
# File ext/win32ole/sample/xml.rb, line 5682 def nodeType() ret = @dispatch._getproperty(4, [], []) @lastargs = WIN32OLE::ARGV ret end
BSTR nodeTypeString the type of node in string form
Source: show
# File ext/win32ole/sample/xml.rb, line 5754 def nodeTypeString() ret = @dispatch._getproperty(21, [], []) @lastargs = WIN32OLE::ARGV ret end
VARIANT nodeTypedValue get the strongly typed value of the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5786 def nodeTypedValue() ret = @dispatch._getproperty(25, [], []) @lastargs = WIN32OLE::ARGV ret end
VOID nodeTypedValue get the strongly typed value of the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5938 def nodeTypedValue=(arg0) ret = @dispatch._setproperty(25, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end
VARIANT nodeValue value stored in the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5674 def nodeValue() ret = @dispatch._getproperty(3, [], []) @lastargs = WIN32OLE::ARGV ret end
VOID nodeValue value stored in the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5922 def nodeValue=(arg0) ret = @dispatch._setproperty(3, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end
HRESULT ondataavailable EVENT in XMLDOMDocumentEvents
Source: show
# File ext/win32ole/sample/xml.rb, line 6235 def ondataavailable() ret = @dispatch._invoke(198, [], []) @lastargs = WIN32OLE::ARGV ret end
VOID ondataavailable register an ondataavailable event handler
Source: show
# File ext/win32ole/sample/xml.rb, line 5994 def ondataavailable=(arg0) ret = @dispatch._setproperty(69, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end
HRESULT onreadystatechange EVENT in XMLDOMDocumentEvents
Source: show
# File ext/win32ole/sample/xml.rb, line 6242 def onreadystatechange() ret = @dispatch._invoke(-609, [], []) @lastargs = WIN32OLE::ARGV ret end
VOID onreadystatechange register a readystatechange event handler
Source: show
# File ext/win32ole/sample/xml.rb, line 5986 def onreadystatechange=(arg0) ret = @dispatch._setproperty(68, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end
VOID ontransformnode register an ontransformnode event handler
Source: show
# File ext/win32ole/sample/xml.rb, line 6002 def ontransformnode=(arg0) ret = @dispatch._setproperty(70, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMDocument ownerDocument document that contains the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5746 def ownerDocument() ret = @dispatch._getproperty(18, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode parentNode parent of the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5690 def parentNode() ret = @dispatch._getproperty(6, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMParseError parseError get the last parser error
Source: show
# File ext/win32ole/sample/xml.rb, line 5874 def parseError() ret = @dispatch._getproperty(59, [], []) @lastargs = WIN32OLE::ARGV ret end
BOOL parsed has sub-tree been completely parsed
Source: show
# File ext/win32ole/sample/xml.rb, line 5810 def parsed() ret = @dispatch._getproperty(31, [], []) @lastargs = WIN32OLE::ARGV ret end
BSTR prefix the prefix for the namespace applying to the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5826 def prefix() ret = @dispatch._getproperty(33, [], []) @lastargs = WIN32OLE::ARGV ret end
BOOL preserveWhiteSpace indicates whether the parser preserves whitespace
Source: show
# File ext/win32ole/sample/xml.rb, line 5914 def preserveWhiteSpace() ret = @dispatch._getproperty(67, [], []) @lastargs = WIN32OLE::ARGV ret end
VOID preserveWhiteSpace indicates whether the parser preserves whitespace
Source: show
# File ext/win32ole/sample/xml.rb, line 5978 def preserveWhiteSpace=(arg0) ret = @dispatch._setproperty(67, [arg0], [VT_BOOL]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode previousSibling left sibling of the node
Source: show
# File ext/win32ole/sample/xml.rb, line 5722 def previousSibling() ret = @dispatch._getproperty(10, [], []) @lastargs = WIN32OLE::ARGV ret end
I4 readyState get the state of the XML document
Source: show
# File ext/win32ole/sample/xml.rb, line 5866 def readyState() ret = @dispatch._getproperty(-525, [], []) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode removeChild remove a child node
IXMLDOMNode arg0 --- childNode [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6031 def removeChild(arg0) ret = @dispatch._invoke(15, [arg0], [VT_BYREF|VT_DISPATCH]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode replaceChild replace a child node
IXMLDOMNode arg0 --- newChild [IN]
IXMLDOMNode arg1 --- oldChild [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6022 def replaceChild(arg0, arg1) ret = @dispatch._invoke(14, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_BYREF|VT_DISPATCH]) @lastargs = WIN32OLE::ARGV ret end
BOOL resolveExternals indicates whether the parser resolves references to external DTD/Entities/Schema
Source: show
# File ext/win32ole/sample/xml.rb, line 5906 def resolveExternals() ret = @dispatch._getproperty(66, [], []) @lastargs = WIN32OLE::ARGV ret end
VOID resolveExternals indicates whether the parser resolves references to external DTD/Entities/Schema
Source: show
# File ext/win32ole/sample/xml.rb, line 5970 def resolveExternals=(arg0) ret = @dispatch._setproperty(66, [arg0], [VT_BOOL]) @lastargs = WIN32OLE::ARGV ret end
VOID save save the document to a specified desination
VARIANT arg0 --- desination [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6228 def save(arg0) ret = @dispatch._invoke(64, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNodeList selectNodes execute query on the subtree
BSTR arg0 --- queryString [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6073 def selectNodes(arg0) ret = @dispatch._invoke(29, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
IXMLDOMNode selectSingleNode execute query on the subtree
BSTR arg0 --- queryString [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6082 def selectSingleNode(arg0) ret = @dispatch._invoke(30, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
BOOL specified indicates whether node is a default value
Source: show
# File ext/win32ole/sample/xml.rb, line 5770 def specified() ret = @dispatch._getproperty(22, [], []) @lastargs = WIN32OLE::ARGV ret end
BSTR text text content of the node and subtree
Source: show
# File ext/win32ole/sample/xml.rb, line 5762 def text() ret = @dispatch._getproperty(24, [], []) @lastargs = WIN32OLE::ARGV ret end
VOID text text content of the node and subtree
Source: show
# File ext/win32ole/sample/xml.rb, line 5930 def text=(arg0) ret = @dispatch._setproperty(24, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end
BSTR transformNode apply the stylesheet to the subtree
IXMLDOMNode arg0 --- stylesheet [IN]
Source: show
# File ext/win32ole/sample/xml.rb, line 6064 def transformNode(arg0) ret = @dispatch._invoke(28, [arg0], [VT_BYREF|VT_DISPATCH]) @lastargs = WIN32OLE::ARGV ret end
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]
Source: show
# File ext/win32ole/sample/xml.rb, line 6092 def transformNodeToObject(arg0, arg1) ret = @dispatch._invoke(35, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end
BSTR url get the URL for the loaded XML document
Source: show
# File ext/win32ole/sample/xml.rb, line 5882 def url() ret = @dispatch._getproperty(60, [], []) @lastargs = WIN32OLE::ARGV ret end
BOOL validateOnParse indicates whether the parser performs validation
Source: show
# File ext/win32ole/sample/xml.rb, line 5898 def validateOnParse() ret = @dispatch._getproperty(65, [], []) @lastargs = WIN32OLE::ARGV ret end