Alright, XML Library is done - at least done enough to move on to the fun stuff. What follows is a brief rundown of the library's API. When this is released, docs will be up on the wiki here. Besides, if you're familiar with dealing with XML on the web, you're probably not going to need much reference here in the first place.
Constructor
Code:
myXml = DigitalUtopia.XML.Document(xmlString);
Classes
Node
This is the base class, which all other classes use.
Properties
nodeName
nodeValue
nodeType
attributes{}
childNodes{}
firstChild
lastChild
nextSibling
previousSibling
parentNode
textContent
Methods
isSameNode(nodeToCompare)
hasChildNodes()
hasAttributes()
Element
Standard tag-type node (only non-inherited properties/methods listed)
Properties
tagName
Methods
hasAttribute(attributeString)
getAttribute(attributeString)
getAttributeNode(attributeString)
getElementsByTagName(tagString)
getElementById(idString)
Attribute
An Attribute node consists of name/value pairs such as name="value"
Properties
isId
name
value
ownerElement
Methods
none
Comment/Text
These two objects are different types, and different objects, but the same non-inherited properties/methods. (only non-inherited properties/methods listed)
Properties
data
length
Methods
substringData(start,length)
Document
The special node that contains the rest of the node tree (only non-inherited properties/methods listed)
Properties
xmlVersion
inputEncoding
xmlEncoding
xmlStandalone
Methods
getElementsByTagName(tagString)
getElementById(idString)