PrettyXML is a free and open source collection of three simple REALbasic class extensions of XmlNode which will allow developers to write more readable XML creation code.
Methods: · AppendNewChild(extends parent as XmlNode, key as string) as XmlNode: Creates a new XmlNode and appends it to the parent. · AppendSimpleChild(extends parent as XmlNode, key as string, value as variant): Creates a new XmlNode and appends it to the parent and adds a textnode with value. Accepted value types are string, integer, double and boolean. The node is not returned, as this is a terminal node. · Indent(extends parent as XmlNode, level as integer): Adds textnodes to create a pretty textfile. You only have to call this method for the root, the children will be called recursively.