Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIDOMXMLDocument Interface Reference

import "nsIDOMXMLDocument.idl";

Inheritance diagram for nsIDOMXMLDocument:
Inheritance graph
[legend]
Collaboration diagram for nsIDOMXMLDocument:
Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean load (in DOMString url)
 Load an XML document.
nsIDOMRange evaluateFIXptr (in DOMString expression)
 Evaluate FIXptr expression.
nsIXPointerResult evaluateXPointer (in DOMString expression)
 Evaluate XPointer expression.
nsIDOMElement createElement (in DOMString tagName) raises (DOMException)
nsIDOMDocumentFragment createDocumentFragment ()
nsIDOMText createTextNode (in DOMString data)
nsIDOMComment createComment (in DOMString data)
nsIDOMCDATASection createCDATASection (in DOMString data) raises (DOMException)
nsIDOMProcessingInstruction createProcessingInstruction (in DOMString target, in DOMString data) raises (DOMException)
nsIDOMAttr createAttribute (in DOMString name) raises (DOMException)
nsIDOMEntityReference createEntityReference (in DOMString name) raises (DOMException)
nsIDOMNodeList getElementsByTagName (in DOMString tagname)
nsIDOMNode importNode (in nsIDOMNode importedNode, in boolean deep) raises (DOMException)
nsIDOMElement createElementNS (in DOMString namespaceURI, in DOMString qualifiedName) raises (DOMException)
nsIDOMAttr createAttributeNS (in DOMString namespaceURI, in DOMString qualifiedName) raises (DOMException)
nsIDOMNodeList getElementsByTagNameNS (in DOMString namespaceURI, in DOMString localName)
nsIDOMElement getElementById (in DOMString elementId)
nsIDOMNode insertBefore (in nsIDOMNode newChild, in nsIDOMNode refChild) raises (DOMException)
nsIDOMNode replaceChild (in nsIDOMNode newChild, in nsIDOMNode oldChild) raises (DOMException)
nsIDOMNode removeChild (in nsIDOMNode oldChild) raises (DOMException)
nsIDOMNode appendChild (in nsIDOMNode newChild) raises (DOMException)
boolean hasChildNodes ()
nsIDOMNode cloneNode (in boolean deep)
void normalize ()
boolean isSupported (in DOMString feature, in DOMString version)
boolean hasAttributes ()

Public Attributes

attribute boolean async
 Whether to load synchronously or asynchronously.
readonly attribute
nsIDOMDocumentType 
doctype
readonly attribute
nsIDOMDOMImplementation 
implementation
readonly attribute nsIDOMElement documentElement
const unsigned short ELEMENT_NODE = 1
const unsigned short ATTRIBUTE_NODE = 2
const unsigned short TEXT_NODE = 3
const unsigned short CDATA_SECTION_NODE = 4
const unsigned short ENTITY_REFERENCE_NODE = 5
const unsigned short ENTITY_NODE = 6
const unsigned short PROCESSING_INSTRUCTION_NODE = 7
const unsigned short COMMENT_NODE = 8
const unsigned short DOCUMENT_NODE = 9
const unsigned short DOCUMENT_TYPE_NODE = 10
const unsigned short DOCUMENT_FRAGMENT_NODE = 11
const unsigned short NOTATION_NODE = 12
readonly attribute DOMString nodeName
attribute DOMString nodeValue
readonly attribute unsigned short nodeType
readonly attribute nsIDOMNode parentNode
readonly attribute nsIDOMNodeList childNodes
readonly attribute nsIDOMNode firstChild
readonly attribute nsIDOMNode lastChild
readonly attribute nsIDOMNode previousSibling
readonly attribute nsIDOMNode nextSibling
readonly attribute
nsIDOMNamedNodeMap 
attributes
readonly attribute nsIDOMDocument ownerDocument
readonly attribute DOMString namespaceURI
attribute DOMString prefix
readonly attribute DOMString localName

Detailed Description

Definition at line 44 of file nsIDOMXMLDocument.idl.


Member Function Documentation

nsIDOMNode nsIDOMNode::appendChild ( in nsIDOMNode  newChild) raises (DOMException) [inherited]
nsIDOMNode nsIDOMNode::cloneNode ( in boolean  deep) [inherited]
nsIDOMAttr nsIDOMDocument::createAttribute ( in DOMString  name) raises (DOMException) [inherited]
nsIDOMAttr nsIDOMDocument::createAttributeNS ( in DOMString  namespaceURI,
in DOMString  qualifiedName 
) raises (DOMException) [inherited]
nsIDOMCDATASection nsIDOMDocument::createCDATASection ( in DOMString  data) raises (DOMException) [inherited]
nsIDOMComment nsIDOMDocument::createComment ( in DOMString  data) [inherited]
nsIDOMElement nsIDOMDocument::createElement ( in DOMString  tagName) raises (DOMException) [inherited]
nsIDOMElement nsIDOMDocument::createElementNS ( in DOMString  namespaceURI,
in DOMString  qualifiedName 
) raises (DOMException) [inherited]
nsIDOMEntityReference nsIDOMDocument::createEntityReference ( in DOMString  name) raises (DOMException) [inherited]
nsIDOMProcessingInstruction nsIDOMDocument::createProcessingInstruction ( in DOMString  target,
in DOMString  data 
) raises (DOMException) [inherited]
nsIDOMText nsIDOMDocument::createTextNode ( in DOMString  data) [inherited]

Evaluate FIXptr expression.

FIXptr is a W3C NOTE, see

http://lists.w3.org/Archives/Public/www-xml-linking-comments/2001AprJun/att-0074/01-NOTE-FIXptr-20010425.htm

Parameters:
expressionFIXptr string.
Returns:
The range object that results from evaluation

Evaluate XPointer expression.

nsIDOMElement nsIDOMDocument::getElementById ( in DOMString  elementId) [inherited]
nsIDOMNodeList nsIDOMDocument::getElementsByTagName ( in DOMString  tagname) [inherited]
nsIDOMNodeList nsIDOMDocument::getElementsByTagNameNS ( in DOMString  namespaceURI,
in DOMString  localName 
) [inherited]
nsIDOMNode nsIDOMDocument::importNode ( in nsIDOMNode  importedNode,
in boolean  deep 
) raises (DOMException) [inherited]
nsIDOMNode nsIDOMNode::insertBefore ( in nsIDOMNode  newChild,
in nsIDOMNode  refChild 
) raises (DOMException) [inherited]
boolean nsIDOMNode::isSupported ( in DOMString  feature,
in DOMString  version 
) [inherited]
boolean nsIDOMXMLDocument::load ( in DOMString  url)

Load an XML document.

Parameters:
urlURL to an XML document.
Returns:
True if load successfull.
void nsIDOMNode::normalize ( ) [inherited]
nsIDOMNode nsIDOMNode::removeChild ( in nsIDOMNode  oldChild) raises (DOMException) [inherited]
nsIDOMNode nsIDOMNode::replaceChild ( in nsIDOMNode  newChild,
in nsIDOMNode  oldChild 
) raises (DOMException) [inherited]

Member Data Documentation

Whether to load synchronously or asynchronously.

The default is async==true.

Definition at line 52 of file nsIDOMXMLDocument.idl.

const unsigned short nsIDOMNode::ATTRIBUTE_NODE = 2 [inherited]

Definition at line 57 of file nsIDOMNode.idl.

Definition at line 80 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::CDATA_SECTION_NODE = 4 [inherited]

Definition at line 59 of file nsIDOMNode.idl.

Definition at line 75 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::COMMENT_NODE = 8 [inherited]

Definition at line 63 of file nsIDOMNode.idl.

Definition at line 60 of file nsIDOMDocument.idl.

const unsigned short nsIDOMNode::DOCUMENT_FRAGMENT_NODE = 11 [inherited]

Definition at line 66 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::DOCUMENT_NODE = 9 [inherited]

Definition at line 64 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::DOCUMENT_TYPE_NODE = 10 [inherited]

Definition at line 65 of file nsIDOMNode.idl.

Definition at line 62 of file nsIDOMDocument.idl.

const unsigned short nsIDOMNode::ELEMENT_NODE = 1 [inherited]

Definition at line 56 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::ENTITY_NODE = 6 [inherited]

Definition at line 61 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::ENTITY_REFERENCE_NODE = 5 [inherited]

Definition at line 60 of file nsIDOMNode.idl.

Definition at line 76 of file nsIDOMNode.idl.

Definition at line 61 of file nsIDOMDocument.idl.

Definition at line 77 of file nsIDOMNode.idl.

readonly attribute DOMString nsIDOMNode::localName [inherited]

Definition at line 107 of file nsIDOMNode.idl.

readonly attribute DOMString nsIDOMNode::namespaceURI [inherited]

Definition at line 101 of file nsIDOMNode.idl.

Definition at line 79 of file nsIDOMNode.idl.

readonly attribute DOMString nsIDOMNode::nodeName [inherited]

Definition at line 69 of file nsIDOMNode.idl.

readonly attribute unsigned short nsIDOMNode::nodeType [inherited]

Definition at line 73 of file nsIDOMNode.idl.

attribute DOMString nsIDOMNode::nodeValue [inherited]

Definition at line 70 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::NOTATION_NODE = 12 [inherited]

Definition at line 67 of file nsIDOMNode.idl.

Definition at line 82 of file nsIDOMNode.idl.

Definition at line 74 of file nsIDOMNode.idl.

attribute DOMString nsIDOMNode::prefix [inherited]

Definition at line 103 of file nsIDOMNode.idl.

Definition at line 78 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::PROCESSING_INSTRUCTION_NODE = 7 [inherited]

Definition at line 62 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::TEXT_NODE = 3 [inherited]

Definition at line 58 of file nsIDOMNode.idl.


The documentation for this interface was generated from the following file: