Class: Microsoft_FreeThreadedXMLDOM_1_0

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

Overview

W3C-DOM XML Document (Apartment)

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_FreeThreadedXMLDOM_1_0


6258
6259
6260
6261
6262
6263
6264
6265
6266
# File 'sample/xml.rb', line 6258

def initialize(obj = nil)
  @clsid = "{2933BF91-7B36-11D2-B20E-00C04F983E60}"
  @progid = "Microsoft.FreeThreadedXMLDOM.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


6268
6269
6270
# File 'sample/xml.rb', line 6268

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

Instance Attribute Details

#clsidObject (readonly)

Returns the value of attribute clsid


6255
6256
6257
# File 'sample/xml.rb', line 6255

def clsid
  @clsid
end

#dispatchObject (readonly)

Returns the value of attribute dispatch


6254
6255
6256
# File 'sample/xml.rb', line 6254

def dispatch
  @dispatch
end

#lastargsObject (readonly)

Returns the value of attribute lastargs


6253
6254
6255
# File 'sample/xml.rb', line 6253

def lastargs
  @lastargs
end

#progidObject (readonly)

Returns the value of attribute progid


6256
6257
6258
# File 'sample/xml.rb', line 6256

def progid
  @progid
end

Instance Method Details

#abortObject

VOID abort abort an asynchronous download


6818
6819
6820
6821
6822
# File 'sample/xml.rb', line 6818

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

#appendChild(arg0) ⇒ Object

IXMLDOMNode appendChild append a child node

IXMLDOMNode arg0 --- newChild [IN]

6648
6649
6650
6651
6652
# File 'sample/xml.rb', line 6648

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

#asyncObject

BOOL async flag for asynchronous download


6498
6499
6500
6501
6502
# File 'sample/xml.rb', line 6498

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

#async=(arg0) ⇒ Object

VOID async flag for asynchronous download


6562
6563
6564
6565
6566
# File 'sample/xml.rb', line 6562

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


6346
6347
6348
6349
6350
# File 'sample/xml.rb', line 6346

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)


6442
6443
6444
6445
6446
# File 'sample/xml.rb', line 6442

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

#childNodesObject

IXMLDOMNodeList childNodes the collection of the node's children


6306
6307
6308
6309
6310
# File 'sample/xml.rb', line 6306

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

#cloneNode(arg0) ⇒ Object

IXMLDOMNode cloneNode

BOOL arg0 --- deep [IN]

6663
6664
6665
6666
6667
# File 'sample/xml.rb', line 6663

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]

6763
6764
6765
6766
6767
# File 'sample/xml.rb', line 6763

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]

6744
6745
6746
6747
6748
# File 'sample/xml.rb', line 6744

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]

6735
6736
6737
6738
6739
# File 'sample/xml.rb', line 6735

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

#createDocumentFragmentObject

IXMLDOMDocumentFragment createDocumentFragment create a DocumentFragment node


6717
6718
6719
6720
6721
# File 'sample/xml.rb', line 6717

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

#createElement(arg0) ⇒ Object

IXMLDOMElement createElement create an Element node

BSTR arg0 --- tagName [IN]

6709
6710
6711
6712
6713
# File 'sample/xml.rb', line 6709

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]

6772
6773
6774
6775
6776
# File 'sample/xml.rb', line 6772

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]

6792
6793
6794
6795
6796
# File 'sample/xml.rb', line 6792

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]

6754
6755
6756
6757
6758
# File 'sample/xml.rb', line 6754

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]

6726
6727
6728
6729
6730
# File 'sample/xml.rb', line 6726

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

#dataTypeObject

VARIANT dataType the data type of the node


6402
6403
6404
6405
6406
# File 'sample/xml.rb', line 6402

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

#dataType=(arg0) ⇒ Object

VOID dataType the data type of the node


6554
6555
6556
6557
6558
# File 'sample/xml.rb', line 6554

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


6386
6387
6388
6389
6390
# File 'sample/xml.rb', line 6386

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

#doctypeObject

IXMLDOMDocumentType doctype node corresponding to the DOCTYPE


6450
6451
6452
6453
6454
# File 'sample/xml.rb', line 6450

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

#documentElementObject

IXMLDOMElement documentElement the root of the tree


6466
6467
6468
6469
6470
# File 'sample/xml.rb', line 6466

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

#firstChildObject

IXMLDOMNode firstChild first child of the node


6314
6315
6316
6317
6318
# File 'sample/xml.rb', line 6314

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]

6781
6782
6783
6784
6785
# File 'sample/xml.rb', line 6781

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

#hasChildNodesObject

BOOL hasChildNodes


6655
6656
6657
6658
6659
# File 'sample/xml.rb', line 6655

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

#implementationObject

IXMLDOMImplementation implementation info on this DOM implementation


6458
6459
6460
6461
6462
# File 'sample/xml.rb', line 6458

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]

6620
6621
6622
6623
6624
# File 'sample/xml.rb', line 6620

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


6322
6323
6324
6325
6326
# File 'sample/xml.rb', line 6322

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]

6810
6811
6812
6813
6814
# File 'sample/xml.rb', line 6810

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]

6827
6828
6829
6830
6831
# File 'sample/xml.rb', line 6827

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


6426
6427
6428
6429
6430
# File 'sample/xml.rb', line 6426

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

#nextSiblingObject

IXMLDOMNode nextSibling right sibling of the node


6338
6339
6340
6341
6342
# File 'sample/xml.rb', line 6338

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]

6801
6802
6803
6804
6805
# File 'sample/xml.rb', line 6801

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

#nodeNameObject

BSTR nodeName name of the node


6274
6275
6276
6277
6278
# File 'sample/xml.rb', line 6274

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

#nodeTypeObject

DOMNodeType nodeType the node's type


6290
6291
6292
6293
6294
# File 'sample/xml.rb', line 6290

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

#nodeTypedValueObject

VARIANT nodeTypedValue get the strongly typed value of the node


6394
6395
6396
6397
6398
# File 'sample/xml.rb', line 6394

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

#nodeTypedValue=(arg0) ⇒ Object

VOID nodeTypedValue get the strongly typed value of the node


6546
6547
6548
6549
6550
# File 'sample/xml.rb', line 6546

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


6362
6363
6364
6365
6366
# File 'sample/xml.rb', line 6362

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

#nodeValueObject

VARIANT nodeValue value stored in the node


6282
6283
6284
6285
6286
# File 'sample/xml.rb', line 6282

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

#nodeValue=(arg0) ⇒ Object

VOID nodeValue value stored in the node


6530
6531
6532
6533
6534
# File 'sample/xml.rb', line 6530

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

#ondataavailableObject

HRESULT ondataavailable EVENT in XMLDOMDocumentEvents


6843
6844
6845
6846
6847
# File 'sample/xml.rb', line 6843

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

#ondataavailable=(arg0) ⇒ Object

VOID ondataavailable register an ondataavailable event handler


6602
6603
6604
6605
6606
# File 'sample/xml.rb', line 6602

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

#onreadystatechangeObject

HRESULT onreadystatechange EVENT in XMLDOMDocumentEvents


6850
6851
6852
6853
6854
# File 'sample/xml.rb', line 6850

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

#onreadystatechange=(arg0) ⇒ Object

VOID onreadystatechange register a readystatechange event handler


6594
6595
6596
6597
6598
# File 'sample/xml.rb', line 6594

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


6610
6611
6612
6613
6614
# File 'sample/xml.rb', line 6610

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

#ownerDocumentObject

IXMLDOMDocument ownerDocument document that contains the node


6354
6355
6356
6357
6358
# File 'sample/xml.rb', line 6354

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

#parentNodeObject

IXMLDOMNode parentNode parent of the node


6298
6299
6300
6301
6302
# File 'sample/xml.rb', line 6298

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

#parsedObject

BOOL parsed has sub-tree been completely parsed


6418
6419
6420
6421
6422
# File 'sample/xml.rb', line 6418

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

#parseErrorObject

IXMLDOMParseError parseError get the last parser error


6482
6483
6484
6485
6486
# File 'sample/xml.rb', line 6482

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

#prefixObject

BSTR prefix the prefix for the namespace applying to the node


6434
6435
6436
6437
6438
# File 'sample/xml.rb', line 6434

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

#preserveWhiteSpaceObject

BOOL preserveWhiteSpace indicates whether the parser preserves whitespace


6522
6523
6524
6525
6526
# File 'sample/xml.rb', line 6522

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

#preserveWhiteSpace=(arg0) ⇒ Object

VOID preserveWhiteSpace indicates whether the parser preserves whitespace


6586
6587
6588
6589
6590
# File 'sample/xml.rb', line 6586

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

#previousSiblingObject

IXMLDOMNode previousSibling left sibling of the node


6330
6331
6332
6333
6334
# File 'sample/xml.rb', line 6330

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

#readyStateObject

I4 readyState get the state of the XML document


6474
6475
6476
6477
6478
# File 'sample/xml.rb', line 6474

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

#removeChild(arg0) ⇒ Object

IXMLDOMNode removeChild remove a child node

IXMLDOMNode arg0 --- childNode [IN]

6639
6640
6641
6642
6643
# File 'sample/xml.rb', line 6639

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]

6630
6631
6632
6633
6634
# File 'sample/xml.rb', line 6630

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


6514
6515
6516
6517
6518
# File 'sample/xml.rb', line 6514

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


6578
6579
6580
6581
6582
# File 'sample/xml.rb', line 6578

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]

6836
6837
6838
6839
6840
# File 'sample/xml.rb', line 6836

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]

6681
6682
6683
6684
6685
# File 'sample/xml.rb', line 6681

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]

6690
6691
6692
6693
6694
# File 'sample/xml.rb', line 6690

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


6378
6379
6380
6381
6382
# File 'sample/xml.rb', line 6378

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

#textObject

BSTR text text content of the node and subtree


6370
6371
6372
6373
6374
# File 'sample/xml.rb', line 6370

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

#text=(arg0) ⇒ Object

VOID text text content of the node and subtree


6538
6539
6540
6541
6542
# File 'sample/xml.rb', line 6538

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]

6672
6673
6674
6675
6676
# File 'sample/xml.rb', line 6672

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]

6700
6701
6702
6703
6704
# File 'sample/xml.rb', line 6700

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


6490
6491
6492
6493
6494
# File 'sample/xml.rb', line 6490

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

#validateOnParseObject

BOOL validateOnParse indicates whether the parser performs validation


6506
6507
6508
6509
6510
# File 'sample/xml.rb', line 6506

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

#validateOnParse=(arg0) ⇒ Object

VOID validateOnParse indicates whether the parser performs validation


6570
6571
6572
6573
6574
# File 'sample/xml.rb', line 6570

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


6410
6411
6412
6413
6414
# File 'sample/xml.rb', line 6410

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