Class: Microsoft_XMLDOM_1_0

Inherits:
Object
  • Object
show all
Includes:
WIN32OLE::VARIANT
Defined in:
sample/xml.rb

Overview

W3C-DOM XML Document

Constant Summary

Constants included from WIN32OLE::VARIANT

WIN32OLE::VARIANT::VT_ARRAY, WIN32OLE::VARIANT::VT_BOOL, WIN32OLE::VARIANT::VT_BSTR, WIN32OLE::VARIANT::VT_BYREF, WIN32OLE::VARIANT::VT_CY, WIN32OLE::VARIANT::VT_DATE, WIN32OLE::VARIANT::VT_DISPATCH, WIN32OLE::VARIANT::VT_EMPTY, WIN32OLE::VARIANT::VT_ERROR, WIN32OLE::VARIANT::VT_I1, WIN32OLE::VARIANT::VT_I2, WIN32OLE::VARIANT::VT_I4, WIN32OLE::VARIANT::VT_I8, WIN32OLE::VARIANT::VT_INT, WIN32OLE::VARIANT::VT_NULL, WIN32OLE::VARIANT::VT_PTR, WIN32OLE::VARIANT::VT_R4, WIN32OLE::VARIANT::VT_R8, WIN32OLE::VARIANT::VT_UI1, WIN32OLE::VARIANT::VT_UI2, WIN32OLE::VARIANT::VT_UI4, WIN32OLE::VARIANT::VT_UI8, WIN32OLE::VARIANT::VT_UINT, WIN32OLE::VARIANT::VT_UNKNOWN, WIN32OLE::VARIANT::VT_USERDEFINED, WIN32OLE::VARIANT::VT_VARIANT

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obj = nil) ⇒ Microsoft_XMLDOM_1_0

Returns a new instance of Microsoft_XMLDOM_1_0.



5650
5651
5652
5653
5654
5655
5656
5657
5658
# File '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

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(cmd, *arg) ⇒ Object



5660
5661
5662
# File 'sample/xml.rb', line 5660

def method_missing(cmd, *arg)
  @dispatch.method_missing(cmd, *arg)
end

Instance Attribute Details

#clsidObject (readonly)

Returns the value of attribute clsid



5647
5648
5649
# File 'sample/xml.rb', line 5647

def clsid
  @clsid
end

#dispatchObject (readonly)

Returns the value of attribute dispatch



5646
5647
5648
# File 'sample/xml.rb', line 5646

def dispatch
  @dispatch
end

#lastargsObject (readonly)

Returns the value of attribute lastargs



5645
5646
5647
# File 'sample/xml.rb', line 5645

def lastargs
  @lastargs
end

#progidObject (readonly)

Returns the value of attribute progid



5648
5649
5650
# File 'sample/xml.rb', line 5648

def progid
  @progid
end

Instance Method Details

#abortObject

VOID abort abort an asynchronous download



6210
6211
6212
6213
6214
# File 'sample/xml.rb', line 6210

def abort()
  ret = @dispatch._invoke(62, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#appendChild(arg0) ⇒ Object

IXMLDOMNode appendChild append a child node

IXMLDOMNode arg0 --- newChild [IN]


6040
6041
6042
6043
6044
# File 'sample/xml.rb', line 6040

def appendChild(arg0)
  ret = @dispatch._invoke(16, [arg0], [VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end

#asyncObject

BOOL async flag for asynchronous download



5890
5891
5892
5893
5894
# File 'sample/xml.rb', line 5890

def async()
  ret = @dispatch._getproperty(61, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#async=(arg0) ⇒ Object

VOID async flag for asynchronous download



5954
5955
5956
5957
5958
# File 'sample/xml.rb', line 5954

def async=(arg0)
  ret = @dispatch._setproperty(61, [arg0], [VT_BOOL])
  @lastargs = WIN32OLE::ARGV
  ret
end

#attributesObject

IXMLDOMNamedNodeMap attributes the collection of the node’s attributes



5738
5739
5740
5741
5742
# File 'sample/xml.rb', line 5738

def attributes()
  ret = @dispatch._getproperty(12, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#baseNameObject

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



5834
5835
5836
5837
5838
# File 'sample/xml.rb', line 5834

def baseName()
  ret = @dispatch._getproperty(34, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#childNodesObject

IXMLDOMNodeList childNodes the collection of the node’s children



5698
5699
5700
5701
5702
# File 'sample/xml.rb', line 5698

def childNodes()
  ret = @dispatch._getproperty(7, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#cloneNode(arg0) ⇒ Object

IXMLDOMNode cloneNode

BOOL arg0 --- deep [IN]


6055
6056
6057
6058
6059
# File 'sample/xml.rb', line 6055

def cloneNode(arg0)
  ret = @dispatch._invoke(19, [arg0], [VT_BOOL])
  @lastargs = WIN32OLE::ARGV
  ret
end

#createAttribute(arg0) ⇒ Object

IXMLDOMAttribute createAttribute create an attribute node

BSTR arg0 --- name [IN]


6155
6156
6157
6158
6159
# File 'sample/xml.rb', line 6155

def createAttribute(arg0)
  ret = @dispatch._invoke(47, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#createCDATASection(arg0) ⇒ Object

IXMLDOMCDATASection createCDATASection create a CDATA section node

BSTR arg0 --- data [IN]


6136
6137
6138
6139
6140
# File 'sample/xml.rb', line 6136

def createCDATASection(arg0)
  ret = @dispatch._invoke(45, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#createComment(arg0) ⇒ Object

IXMLDOMComment createComment create a comment node

BSTR arg0 --- data [IN]


6127
6128
6129
6130
6131
# File 'sample/xml.rb', line 6127

def createComment(arg0)
  ret = @dispatch._invoke(44, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#createDocumentFragmentObject

IXMLDOMDocumentFragment createDocumentFragment create a DocumentFragment node



6109
6110
6111
6112
6113
# File 'sample/xml.rb', line 6109

def createDocumentFragment()
  ret = @dispatch._invoke(42, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#createElement(arg0) ⇒ Object

IXMLDOMElement createElement create an Element node

BSTR arg0 --- tagName [IN]


6101
6102
6103
6104
6105
# File 'sample/xml.rb', line 6101

def createElement(arg0)
  ret = @dispatch._invoke(41, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#createEntityReference(arg0) ⇒ Object

IXMLDOMEntityReference createEntityReference create an entity reference node

BSTR arg0 --- name [IN]


6164
6165
6166
6167
6168
# File 'sample/xml.rb', line 6164

def createEntityReference(arg0)
  ret = @dispatch._invoke(49, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#createNode(arg0, arg1, arg2) ⇒ Object

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

VARIANT arg0 --- type [IN]
BSTR arg1 --- name [IN]
BSTR arg2 --- namespaceURI [IN]


6184
6185
6186
6187
6188
# File '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

#createProcessingInstruction(arg0, arg1) ⇒ Object

IXMLDOMProcessingInstruction createProcessingInstruction create a processing instruction node

BSTR arg0 --- target [IN]
BSTR arg1 --- data [IN]


6146
6147
6148
6149
6150
# File 'sample/xml.rb', line 6146

def createProcessingInstruction(arg0, arg1)
  ret = @dispatch._invoke(46, [arg0, arg1], [VT_BSTR, VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#createTextNode(arg0) ⇒ Object

IXMLDOMText createTextNode create a text node

BSTR arg0 --- data [IN]


6118
6119
6120
6121
6122
# File 'sample/xml.rb', line 6118

def createTextNode(arg0)
  ret = @dispatch._invoke(43, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#dataTypeObject

VARIANT dataType the data type of the node



5794
5795
5796
5797
5798
# File 'sample/xml.rb', line 5794

def dataType()
  ret = @dispatch._getproperty(26, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#dataType=(arg0) ⇒ Object

VOID dataType the data type of the node



5946
5947
5948
5949
5950
# File 'sample/xml.rb', line 5946

def dataType=(arg0)
  ret = @dispatch._setproperty(26, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end

#definitionObject

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



5778
5779
5780
5781
5782
# File 'sample/xml.rb', line 5778

def definition()
  ret = @dispatch._getproperty(23, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#doctypeObject

IXMLDOMDocumentType doctype node corresponding to the DOCTYPE



5842
5843
5844
5845
5846
# File 'sample/xml.rb', line 5842

def doctype()
  ret = @dispatch._getproperty(38, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#documentElementObject

IXMLDOMElement documentElement the root of the tree



5858
5859
5860
5861
5862
# File 'sample/xml.rb', line 5858

def documentElement()
  ret = @dispatch._getproperty(40, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#firstChildObject

IXMLDOMNode firstChild first child of the node



5706
5707
5708
5709
5710
# File 'sample/xml.rb', line 5706

def firstChild()
  ret = @dispatch._getproperty(8, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#getElementsByTagName(arg0) ⇒ Object

IXMLDOMNodeList getElementsByTagName build a list of elements by name

BSTR arg0 --- tagName [IN]


6173
6174
6175
6176
6177
# File 'sample/xml.rb', line 6173

def getElementsByTagName(arg0)
  ret = @dispatch._invoke(50, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#hasChildNodesObject

BOOL hasChildNodes



6047
6048
6049
6050
6051
# File 'sample/xml.rb', line 6047

def hasChildNodes()
  ret = @dispatch._invoke(17, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#implementationObject

IXMLDOMImplementation implementation info on this DOM implementation



5850
5851
5852
5853
5854
# File 'sample/xml.rb', line 5850

def implementation()
  ret = @dispatch._getproperty(39, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#insertBefore(arg0, arg1) ⇒ Object

IXMLDOMNode insertBefore insert a child node

IXMLDOMNode arg0 --- newChild [IN]
VARIANT arg1 --- refChild [IN]


6012
6013
6014
6015
6016
# File '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

#lastChildObject

IXMLDOMNode lastChild first child of the node



5714
5715
5716
5717
5718
# File 'sample/xml.rb', line 5714

def lastChild()
  ret = @dispatch._getproperty(9, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#load(arg0) ⇒ Object

BOOL load load document from the specified XML source

VARIANT arg0 --- xmlSource [IN]


6202
6203
6204
6205
6206
# File 'sample/xml.rb', line 6202

def load(arg0)
  ret = @dispatch._invoke(58, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end

#loadXML(arg0) ⇒ Object

BOOL loadXML load the document from a string

BSTR arg0 --- bstrXML [IN]


6219
6220
6221
6222
6223
# File 'sample/xml.rb', line 6219

def loadXML(arg0)
  ret = @dispatch._invoke(63, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#namespaceURIObject

BSTR namespaceURI the URI for the namespace applying to the node



5818
5819
5820
5821
5822
# File 'sample/xml.rb', line 5818

def namespaceURI()
  ret = @dispatch._getproperty(32, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#nextSiblingObject

IXMLDOMNode nextSibling right sibling of the node



5730
5731
5732
5733
5734
# File 'sample/xml.rb', line 5730

def nextSibling()
  ret = @dispatch._getproperty(11, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#nodeFromID(arg0) ⇒ Object

IXMLDOMNode nodeFromID retrieve node from it’s ID

BSTR arg0 --- idString [IN]


6193
6194
6195
6196
6197
# File 'sample/xml.rb', line 6193

def nodeFromID(arg0)
  ret = @dispatch._invoke(56, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#nodeNameObject

BSTR nodeName name of the node



5666
5667
5668
5669
5670
# File 'sample/xml.rb', line 5666

def nodeName()
  ret = @dispatch._getproperty(2, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#nodeTypeObject

DOMNodeType nodeType the node’s type



5682
5683
5684
5685
5686
# File 'sample/xml.rb', line 5682

def nodeType()
  ret = @dispatch._getproperty(4, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#nodeTypedValueObject

VARIANT nodeTypedValue get the strongly typed value of the node



5786
5787
5788
5789
5790
# File 'sample/xml.rb', line 5786

def nodeTypedValue()
  ret = @dispatch._getproperty(25, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#nodeTypedValue=(arg0) ⇒ Object

VOID nodeTypedValue get the strongly typed value of the node



5938
5939
5940
5941
5942
# File 'sample/xml.rb', line 5938

def nodeTypedValue=(arg0)
  ret = @dispatch._setproperty(25, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end

#nodeTypeStringObject

BSTR nodeTypeString the type of node in string form



5754
5755
5756
5757
5758
# File 'sample/xml.rb', line 5754

def nodeTypeString()
  ret = @dispatch._getproperty(21, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#nodeValueObject

VARIANT nodeValue value stored in the node



5674
5675
5676
5677
5678
# File 'sample/xml.rb', line 5674

def nodeValue()
  ret = @dispatch._getproperty(3, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#nodeValue=(arg0) ⇒ Object

VOID nodeValue value stored in the node



5922
5923
5924
5925
5926
# File 'sample/xml.rb', line 5922

def nodeValue=(arg0)
  ret = @dispatch._setproperty(3, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end

#ondataavailableObject

HRESULT ondataavailable EVENT in XMLDOMDocumentEvents



6235
6236
6237
6238
6239
# File 'sample/xml.rb', line 6235

def ondataavailable()
  ret = @dispatch._invoke(198, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#ondataavailable=(arg0) ⇒ Object

VOID ondataavailable register an ondataavailable event handler



5994
5995
5996
5997
5998
# File 'sample/xml.rb', line 5994

def ondataavailable=(arg0)
  ret = @dispatch._setproperty(69, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end

#onreadystatechangeObject

HRESULT onreadystatechange EVENT in XMLDOMDocumentEvents



6242
6243
6244
6245
6246
# File 'sample/xml.rb', line 6242

def onreadystatechange()
  ret = @dispatch._invoke(-609, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#onreadystatechange=(arg0) ⇒ Object

VOID onreadystatechange register a readystatechange event handler



5986
5987
5988
5989
5990
# File 'sample/xml.rb', line 5986

def onreadystatechange=(arg0)
  ret = @dispatch._setproperty(68, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end

#ontransformnode=(arg0) ⇒ Object

VOID ontransformnode register an ontransformnode event handler



6002
6003
6004
6005
6006
# File 'sample/xml.rb', line 6002

def ontransformnode=(arg0)
  ret = @dispatch._setproperty(70, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end

#ownerDocumentObject

IXMLDOMDocument ownerDocument document that contains the node



5746
5747
5748
5749
5750
# File 'sample/xml.rb', line 5746

def ownerDocument()
  ret = @dispatch._getproperty(18, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#parentNodeObject

IXMLDOMNode parentNode parent of the node



5690
5691
5692
5693
5694
# File 'sample/xml.rb', line 5690

def parentNode()
  ret = @dispatch._getproperty(6, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#parsedObject

BOOL parsed has sub-tree been completely parsed



5810
5811
5812
5813
5814
# File 'sample/xml.rb', line 5810

def parsed()
  ret = @dispatch._getproperty(31, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#parseErrorObject

IXMLDOMParseError parseError get the last parser error



5874
5875
5876
5877
5878
# File 'sample/xml.rb', line 5874

def parseError()
  ret = @dispatch._getproperty(59, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#prefixObject

BSTR prefix the prefix for the namespace applying to the node



5826
5827
5828
5829
5830
# File 'sample/xml.rb', line 5826

def prefix()
  ret = @dispatch._getproperty(33, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#preserveWhiteSpaceObject

BOOL preserveWhiteSpace indicates whether the parser preserves whitespace



5914
5915
5916
5917
5918
# File 'sample/xml.rb', line 5914

def preserveWhiteSpace()
  ret = @dispatch._getproperty(67, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#preserveWhiteSpace=(arg0) ⇒ Object

VOID preserveWhiteSpace indicates whether the parser preserves whitespace



5978
5979
5980
5981
5982
# File 'sample/xml.rb', line 5978

def preserveWhiteSpace=(arg0)
  ret = @dispatch._setproperty(67, [arg0], [VT_BOOL])
  @lastargs = WIN32OLE::ARGV
  ret
end

#previousSiblingObject

IXMLDOMNode previousSibling left sibling of the node



5722
5723
5724
5725
5726
# File 'sample/xml.rb', line 5722

def previousSibling()
  ret = @dispatch._getproperty(10, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#readyStateObject

I4 readyState get the state of the XML document



5866
5867
5868
5869
5870
# File 'sample/xml.rb', line 5866

def readyState()
  ret = @dispatch._getproperty(-525, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#removeChild(arg0) ⇒ Object

IXMLDOMNode removeChild remove a child node

IXMLDOMNode arg0 --- childNode [IN]


6031
6032
6033
6034
6035
# File 'sample/xml.rb', line 6031

def removeChild(arg0)
  ret = @dispatch._invoke(15, [arg0], [VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end

#replaceChild(arg0, arg1) ⇒ Object

IXMLDOMNode replaceChild replace a child node

IXMLDOMNode arg0 --- newChild [IN]
IXMLDOMNode arg1 --- oldChild [IN]


6022
6023
6024
6025
6026
# File '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

#resolveExternalsObject

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



5906
5907
5908
5909
5910
# File 'sample/xml.rb', line 5906

def resolveExternals()
  ret = @dispatch._getproperty(66, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#resolveExternals=(arg0) ⇒ Object

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



5970
5971
5972
5973
5974
# File 'sample/xml.rb', line 5970

def resolveExternals=(arg0)
  ret = @dispatch._setproperty(66, [arg0], [VT_BOOL])
  @lastargs = WIN32OLE::ARGV
  ret
end

#save(arg0) ⇒ Object

VOID save save the document to a specified desination

VARIANT arg0 --- desination [IN]


6228
6229
6230
6231
6232
# File 'sample/xml.rb', line 6228

def save(arg0)
  ret = @dispatch._invoke(64, [arg0], [VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end

#selectNodes(arg0) ⇒ Object

IXMLDOMNodeList selectNodes execute query on the subtree

BSTR arg0 --- queryString [IN]


6073
6074
6075
6076
6077
# File 'sample/xml.rb', line 6073

def selectNodes(arg0)
  ret = @dispatch._invoke(29, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#selectSingleNode(arg0) ⇒ Object

IXMLDOMNode selectSingleNode execute query on the subtree

BSTR arg0 --- queryString [IN]


6082
6083
6084
6085
6086
# File 'sample/xml.rb', line 6082

def selectSingleNode(arg0)
  ret = @dispatch._invoke(30, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#specifiedObject

BOOL specified indicates whether node is a default value



5770
5771
5772
5773
5774
# File 'sample/xml.rb', line 5770

def specified()
  ret = @dispatch._getproperty(22, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#textObject

BSTR text text content of the node and subtree



5762
5763
5764
5765
5766
# File 'sample/xml.rb', line 5762

def text()
  ret = @dispatch._getproperty(24, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#text=(arg0) ⇒ Object

VOID text text content of the node and subtree



5930
5931
5932
5933
5934
# File 'sample/xml.rb', line 5930

def text=(arg0)
  ret = @dispatch._setproperty(24, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#transformNode(arg0) ⇒ Object

BSTR transformNode apply the stylesheet to the subtree

IXMLDOMNode arg0 --- stylesheet [IN]


6064
6065
6066
6067
6068
# File 'sample/xml.rb', line 6064

def transformNode(arg0)
  ret = @dispatch._invoke(28, [arg0], [VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end

#transformNodeToObject(arg0, arg1) ⇒ Object

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]


6092
6093
6094
6095
6096
# File '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

#urlObject

BSTR url get the URL for the loaded XML document



5882
5883
5884
5885
5886
# File 'sample/xml.rb', line 5882

def url()
  ret = @dispatch._getproperty(60, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#validateOnParseObject

BOOL validateOnParse indicates whether the parser performs validation



5898
5899
5900
5901
5902
# File 'sample/xml.rb', line 5898

def validateOnParse()
  ret = @dispatch._getproperty(65, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#validateOnParse=(arg0) ⇒ Object

VOID validateOnParse indicates whether the parser performs validation



5962
5963
5964
5965
5966
# File 'sample/xml.rb', line 5962

def validateOnParse=(arg0)
  ret = @dispatch._setproperty(65, [arg0], [VT_BOOL])
  @lastargs = WIN32OLE::ARGV
  ret
end

#xmlObject

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



5802
5803
5804
5805
5806
# File 'sample/xml.rb', line 5802

def xml()
  ret = @dispatch._getproperty(27, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end