xml/ XmlDocument.jsThis library provides the ability to create an XML DOM document cross browser. The document can be loaded from a string and written to a string. Copyright2004 Rob Rohan robr@gmai l.com All rights reserved ohan Seehttp://mozref.com/reference/objects/Document ExamplemyDoc = new XmlDocumentFactory.getInstance(); //get a new doc Relatedutil/Collections.js xml/XmlSax.js (for safari only) xml/XmlW3CDom.js (for safari only) Summary
XMLDocumentFactoryThis can be used to create new xml documents in a somewhat cross browser compatable way. It trys to keep MS and Mozilla functions the same with a touch of w3c thrown in for good measure. This add Namespace support to IE and the ability to load a document from a string in safari with the supporting libraies The create instance method should give you a DOM object that you should be used to Summary
|
the library version
var XMLDOCUMENT_VERSION
an xml element
var XML_ELEMENT
var XML_ATTRIBUTE
var XML_TEXT
var XML_CDATA
var XML_ENTITY_REFERENCE
var XML_ENTITY
var XML_PI
var XML_COMMENT
var XML_DOCUMENT
var XML_DOCUMENT_TYPE
var XML_DOCUMENT_FRAGMENT
var XML_NOTATION
gets and xml node type as a string
function XML_NodeTypeAsString( node )