XMLDocument extends IXML Document. It is obsolete. You should use DOMDocument. This object should not be confused with the XMLDocument property on the XML data island.

Methods
A
C
D
M
N
R
U
V
Included Modules
Attributes
[R] clsid
[R] dispatch
[R] lastargs
[R] progid
Class Public methods
new(obj = nil)
# File ext/win32ole/sample/xml.rb, line 7206
def initialize(obj = nil)
  @clsid = "{CFC399AF-D876-11D0-9C10-00C04FC99C8E}"
  @progid = "Msxml"
  if obj.nil?
    @dispatch = WIN32OLE.new(@progid)
  else
    @dispatch = obj
  end
end
Instance Public methods
async()

HRESULT async get asynchronous loading flag.

BOOL arg0 --- pf [OUT]
# File ext/win32ole/sample/xml.rb, line 7292
def async
  OLEProperty.new(@dispatch, 65649, [VT_BYREF|VT_BOOL], [VT_BYREF|VT_BOOL, VT_HRESULT])
end
async=(arg0)

HRESULT async get asynchronous loading flag.

BOOL arg0 --- pf [IN]
# File ext/win32ole/sample/xml.rb, line 7241
def async=(arg0)
  ret = @dispatch._setproperty(65649, [arg0], [VT_BOOL, VT_HRESULT])
  @lastargs = WIN32OLE::ARGV
  ret
end
charset()

HRESULT charset get encoding.

BSTR arg0 --- p [OUT]
# File ext/win32ole/sample/xml.rb, line 7271
def charset
  OLEProperty.new(@dispatch, 65645, [VT_BYREF|VT_BSTR], [VT_BYREF|VT_BSTR, VT_HRESULT])
end
charset=(arg0)

HRESULT charset get encoding.

BSTR arg0 --- p [IN]
# File ext/win32ole/sample/xml.rb, line 7232
def charset=(arg0)
  ret = @dispatch._setproperty(65645, [arg0], [VT_BSTR, VT_HRESULT])
  @lastargs = WIN32OLE::ARGV
  ret
end
createElement(arg0, arg1=nil, arg2=nil)

HRESULT createElement create different types of IXMLElements.

VARIANT arg0 --- vType [IN]
VARIANT arg1 --- var1 [IN]
IXMLElement2,IXMLElement2 arg2 --- ppElem [OUT]
# File ext/win32ole/sample/xml.rb, line 7301
def createElement(arg0, arg1=nil, arg2=nil)
  ret = @dispatch._invoke(65644, [arg0, arg1, arg2], [VT_VARIANT, VT_VARIANT, VT_BYREF|VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end
doctype()

HRESULT doctype get document type.

BSTR arg0 --- p [OUT]
# File ext/win32ole/sample/xml.rb, line 7285
def doctype
  OLEProperty.new(@dispatch, 65647, [VT_BYREF|VT_BSTR], [VT_BYREF|VT_BSTR, VT_HRESULT])
end
method_missing(cmd, *arg)
# File ext/win32ole/sample/xml.rb, line 7216
def method_missing(cmd, *arg)
  @dispatch.method_missing(cmd, *arg)
end
readyState()

HRESULT readyState get ready state.

I4 arg0 --- pl [OUT]
# File ext/win32ole/sample/xml.rb, line 7264
def readyState
  OLEProperty.new(@dispatch, 65643, [VT_BYREF|VT_I4], [VT_BYREF|VT_I4, VT_HRESULT])
end
root()

HRESULT root get root IXMLElement of the XML document.

IXMLElement2,IXMLElement2 arg0 --- p [OUT]
# File ext/win32ole/sample/xml.rb, line 7250
def root
  OLEProperty.new(@dispatch, 65637, [VT_BYREF|VT_BYREF|VT_DISPATCH], [VT_BYREF|VT_BYREF|VT_DISPATCH, VT_HRESULT])
end
url()

HRESULT url set URL to load an XML document from the URL.

BSTR arg0 --- p [OUT]
# File ext/win32ole/sample/xml.rb, line 7257
def url
  OLEProperty.new(@dispatch, 65641, [VT_BYREF|VT_BSTR], [VT_BYREF|VT_BSTR, VT_HRESULT])
end
url=(arg0)

HRESULT url set URL to load an XML document from the URL.

BSTR arg0 --- p [IN]
# File ext/win32ole/sample/xml.rb, line 7223
def url=(arg0)
  ret = @dispatch._setproperty(65641, [arg0], [VT_BSTR, VT_HRESULT])
  @lastargs = WIN32OLE::ARGV
  ret
end
version()

HRESULT version get XML version number.

BSTR arg0 --- p [OUT]
# File ext/win32ole/sample/xml.rb, line 7278
def version
  OLEProperty.new(@dispatch, 65646, [VT_BYREF|VT_BSTR], [VT_BYREF|VT_BSTR, VT_HRESULT])
end