sarissa

Class XMLDocument

Object
   |
   +--XMLDocument

class XMLDocument

Field Summary
 Object onreadystatechange
          

Emulate IE's onreadystatechange attribute

 Object parseError
          

Emulate IE's parseError attribute

 Object readyState
          

Emulates IE's readyState property, which always gives an integer from 0 to 4:

  • 1 == LOADING,
  • 2 == LOADED,
  • 3 == INTERACTIVE,
  • 4 == COMPLETED
   
Method Summary
 Object load(sURI)
          

Overrides the original load method to provide synchronous loading for Mozilla versions prior to 1.4, using an XMLHttpRequest object (if async is set to false)

 Object selectNodes(sExpr, contextNode)
          

Extends the XMLDocument to emulate IE's selectNodes.

 Object selectSingleNode(sExpr, contextNode)
          

Extends the XMLDocument to emulate IE's selectSingleNodes.

 void setProperty(x,y)
           dummy, used to accept IE's stuff without throwing errors

Field Detail

onreadystatechange

Object onreadystatechange

parseError

Object parseError

readyState

Object readyState


Method Detail

load

Object load(sURI)

selectNodes

Object selectNodes(sExpr, contextNode)

selectSingleNode

Object selectSingleNode(sExpr, contextNode)

setProperty

void setProperty(x,y)

sarissa

Documentation generated by JSDoc on Thu Jul 14 20:11:06 2005