Is there a reason why this method isn't named add?
public func insert(child node: Node) {
xmlAddChild(xmlNode, node.xmlNode)
}
The underlying API uses the term 'add'. To me insert means the method should take an index, or maybe the node will be put in the front of the children list.