Module: IXMLDOMProcessingInstruction

Includes:
WIN32OLE::VARIANT
Defined in:
sample/xml.rb

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

Instance Attribute Details

#lastargsObject (readonly)

Returns the value of attribute lastargs.



3921
3922
3923
# File 'sample/xml.rb', line 3921

def lastargs
  @lastargs
end

Instance Method Details

#appendChild(arg0) ⇒ Object

IXMLDOMNode appendChild append a child node

IXMLDOMNode arg0 --- newChild [IN]


4187
4188
4189
4190
4191
# File 'sample/xml.rb', line 4187

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

#attributesObject

IXMLDOMNamedNodeMap attributes the collection of the node’s attributes



3997
3998
3999
4000
4001
# File 'sample/xml.rb', line 3997

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

#baseNameObject

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



4093
4094
4095
4096
4097
# File 'sample/xml.rb', line 4093

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

#childNodesObject

IXMLDOMNodeList childNodes the collection of the node’s children



3957
3958
3959
3960
3961
# File 'sample/xml.rb', line 3957

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

#cloneNode(arg0) ⇒ Object

IXMLDOMNode cloneNode

BOOL arg0 --- deep [IN]


4202
4203
4204
4205
4206
# File 'sample/xml.rb', line 4202

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

#dataObject

BSTR data the data



4109
4110
4111
4112
4113
# File 'sample/xml.rb', line 4109

def data()
  ret = _getproperty(128, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#data=(arg0) ⇒ Object

VOID data the data



4149
4150
4151
4152
4153
# File 'sample/xml.rb', line 4149

def data=(arg0)
  ret = _setproperty(128, [arg0], [VT_BSTR])
  @lastargs = WIN32OLE::ARGV
  ret
end

#dataTypeObject

VARIANT dataType the data type of the node



4053
4054
4055
4056
4057
# File 'sample/xml.rb', line 4053

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

#dataType=(arg0) ⇒ Object

VOID dataType the data type of the node



4141
4142
4143
4144
4145
# File 'sample/xml.rb', line 4141

def dataType=(arg0)
  ret = _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



4037
4038
4039
4040
4041
# File 'sample/xml.rb', line 4037

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

#firstChildObject

IXMLDOMNode firstChild first child of the node



3965
3966
3967
3968
3969
# File 'sample/xml.rb', line 3965

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

#hasChildNodesObject

BOOL hasChildNodes



4194
4195
4196
4197
4198
# File 'sample/xml.rb', line 4194

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

#insertBefore(arg0, arg1) ⇒ Object

IXMLDOMNode insertBefore insert a child node

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


4159
4160
4161
4162
4163
# File 'sample/xml.rb', line 4159

def insertBefore(arg0, arg1)
  ret = _invoke(13, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end

#lastChildObject

IXMLDOMNode lastChild first child of the node



3973
3974
3975
3976
3977
# File 'sample/xml.rb', line 3973

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

#namespaceURIObject

BSTR namespaceURI the URI for the namespace applying to the node



4077
4078
4079
4080
4081
# File 'sample/xml.rb', line 4077

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

#nextSiblingObject

IXMLDOMNode nextSibling right sibling of the node



3989
3990
3991
3992
3993
# File 'sample/xml.rb', line 3989

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

#nodeNameObject

BSTR nodeName name of the node



3925
3926
3927
3928
3929
# File 'sample/xml.rb', line 3925

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

#nodeTypeObject

DOMNodeType nodeType the node’s type



3941
3942
3943
3944
3945
# File 'sample/xml.rb', line 3941

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

#nodeTypedValueObject

VARIANT nodeTypedValue get the strongly typed value of the node



4045
4046
4047
4048
4049
# File 'sample/xml.rb', line 4045

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

#nodeTypedValue=(arg0) ⇒ Object

VOID nodeTypedValue get the strongly typed value of the node



4133
4134
4135
4136
4137
# File 'sample/xml.rb', line 4133

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

#nodeTypeStringObject

BSTR nodeTypeString the type of node in string form



4013
4014
4015
4016
4017
# File 'sample/xml.rb', line 4013

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

#nodeValueObject

VARIANT nodeValue value stored in the node



3933
3934
3935
3936
3937
# File 'sample/xml.rb', line 3933

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

#nodeValue=(arg0) ⇒ Object

VOID nodeValue value stored in the node



4117
4118
4119
4120
4121
# File 'sample/xml.rb', line 4117

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

#ownerDocumentObject

IXMLDOMDocument ownerDocument document that contains the node



4005
4006
4007
4008
4009
# File 'sample/xml.rb', line 4005

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

#parentNodeObject

IXMLDOMNode parentNode parent of the node



3949
3950
3951
3952
3953
# File 'sample/xml.rb', line 3949

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

#parsedObject

BOOL parsed has sub-tree been completely parsed



4069
4070
4071
4072
4073
# File 'sample/xml.rb', line 4069

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

#prefixObject

BSTR prefix the prefix for the namespace applying to the node



4085
4086
4087
4088
4089
# File 'sample/xml.rb', line 4085

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

#previousSiblingObject

IXMLDOMNode previousSibling left sibling of the node



3981
3982
3983
3984
3985
# File 'sample/xml.rb', line 3981

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

#removeChild(arg0) ⇒ Object

IXMLDOMNode removeChild remove a child node

IXMLDOMNode arg0 --- childNode [IN]


4178
4179
4180
4181
4182
# File 'sample/xml.rb', line 4178

def removeChild(arg0)
  ret = _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]


4169
4170
4171
4172
4173
# File 'sample/xml.rb', line 4169

def replaceChild(arg0, arg1)
  ret = _invoke(14, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_BYREF|VT_DISPATCH])
  @lastargs = WIN32OLE::ARGV
  ret
end

#selectNodes(arg0) ⇒ Object

IXMLDOMNodeList selectNodes execute query on the subtree

BSTR arg0 --- queryString [IN]


4220
4221
4222
4223
4224
# File 'sample/xml.rb', line 4220

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

#selectSingleNode(arg0) ⇒ Object

IXMLDOMNode selectSingleNode execute query on the subtree

BSTR arg0 --- queryString [IN]


4229
4230
4231
4232
4233
# File 'sample/xml.rb', line 4229

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

#specifiedObject

BOOL specified indicates whether node is a default value



4029
4030
4031
4032
4033
# File 'sample/xml.rb', line 4029

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

#targetObject

BSTR target the target



4101
4102
4103
4104
4105
# File 'sample/xml.rb', line 4101

def target()
  ret = _getproperty(127, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#textObject

BSTR text text content of the node and subtree



4021
4022
4023
4024
4025
# File 'sample/xml.rb', line 4021

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

#text=(arg0) ⇒ Object

VOID text text content of the node and subtree



4125
4126
4127
4128
4129
# File 'sample/xml.rb', line 4125

def text=(arg0)
  ret = _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]


4211
4212
4213
4214
4215
# File 'sample/xml.rb', line 4211

def transformNode(arg0)
  ret = _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]


4239
4240
4241
4242
4243
# File 'sample/xml.rb', line 4239

def transformNodeToObject(arg0, arg1)
  ret = _invoke(35, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_VARIANT])
  @lastargs = WIN32OLE::ARGV
  ret
end

#xmlObject

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



4061
4062
4063
4064
4065
# File 'sample/xml.rb', line 4061

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