Module IXMLDOMDocument
In: ext/win32ole/sample/xml.rb

Methods

Included Modules

WIN32OLE::VARIANT

Attributes

lastargs  [R] 

Public Instance methods

VOID abort abort an asynchronous download

IXMLDOMNode appendChild append a child node

  IXMLDOMNode arg0 --- newChild [IN]

BOOL async flag for asynchronous download

VOID async flag for asynchronous download

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

IXMLDOMNodeList childNodes the collection of the node‘s children

IXMLDOMNode cloneNode

  BOOL arg0 --- deep [IN]

IXMLDOMAttribute createAttribute create an attribute node

  BSTR arg0 --- name [IN]

IXMLDOMCDATASection createCDATASection create a CDATA section node

  BSTR arg0 --- data [IN]

IXMLDOMComment createComment create a comment node

  BSTR arg0 --- data [IN]

IXMLDOMElement createElement create an Element node

  BSTR arg0 --- tagName [IN]

IXMLDOMEntityReference createEntityReference create an entity reference node

  BSTR arg0 --- name [IN]

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

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

IXMLDOMProcessingInstruction createProcessingInstruction create a processing instruction node

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

IXMLDOMText createTextNode create a text node

  BSTR arg0 --- data [IN]

VARIANT dataType the data type of the node

VOID dataType the data type of the node

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

IXMLDOMDocumentType doctype node corresponding to the DOCTYPE

IXMLDOMNode firstChild first child of the node

IXMLDOMNodeList getElementsByTagName build a list of elements by name

  BSTR arg0 --- tagName [IN]

IXMLDOMNode insertBefore insert a child node

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

IXMLDOMNode lastChild first child of the node

BOOL load load document from the specified XML source

  VARIANT arg0 --- xmlSource [IN]

BOOL loadXML load the document from a string

  BSTR arg0 --- bstrXML [IN]

BSTR namespaceURI the URI for the namespace applying to the node

IXMLDOMNode nextSibling right sibling of the node

IXMLDOMNode nodeFromID retrieve node from it‘s ID

  BSTR arg0 --- idString [IN]

BSTR nodeName name of the node

DOMNodeType nodeType the node‘s type

BSTR nodeTypeString the type of node in string form

VARIANT nodeTypedValue get the strongly typed value of the node

VOID nodeTypedValue get the strongly typed value of the node

VARIANT nodeValue value stored in the node

VOID nodeValue value stored in the node

VOID ondataavailable register an ondataavailable event handler

VOID onreadystatechange register a readystatechange event handler

VOID ontransformnode register an ontransformnode event handler

IXMLDOMDocument ownerDocument document that contains the node

IXMLDOMParseError parseError get the last parser error

BOOL parsed has sub-tree been completely parsed

BSTR prefix the prefix for the namespace applying to the node

BOOL preserveWhiteSpace indicates whether the parser preserves whitespace

VOID preserveWhiteSpace indicates whether the parser preserves whitespace

I4 readyState get the state of the XML document

IXMLDOMNode removeChild remove a child node

  IXMLDOMNode arg0 --- childNode [IN]

IXMLDOMNode replaceChild replace a child node

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

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

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

VOID save save the document to a specified desination

  VARIANT arg0 --- desination [IN]

IXMLDOMNodeList selectNodes execute query on the subtree

  BSTR arg0 --- queryString [IN]

IXMLDOMNode selectSingleNode execute query on the subtree

  BSTR arg0 --- queryString [IN]

BOOL specified indicates whether node is a default value

BSTR text text content of the node and subtree

VOID text text content of the node and subtree

BSTR transformNode apply the stylesheet to the subtree

  IXMLDOMNode arg0 --- stylesheet [IN]

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]

BSTR url get the URL for the loaded XML document

BOOL validateOnParse indicates whether the parser performs validation

VOID validateOnParse indicates whether the parser performs validation

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

[Validate]

ruby-doc.org is a service of James Britt and Neurogami, a Ruby application development company in Phoenix, AZ.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.