Structure
XMLTree
Enumerates a document tree while preserving node depth and parentage.
struct XMLTree
Topics
Classes
C
XMLTree.Iterator
Iterates over the document in depth-first pre-order.
Initializers
?
init(xml:)
Creates a tree view rooted at the supplied document.
Instance Methods
F
makeIterator()
Returns a depth-first iterator rooted at the document’s root element.
Type Aliases
T
XMLTree.Node
A single tree entry containing the nesting level, node, and parent.
Default Implementations
Relationships
Conforms To
See Also
Traversing Trees
S
XMLElement
A Swift wrapper around a libxml2 element node.
S
XMLAttribute
A Swift wrapper around a libxml2 attribute node.
S
XMLNameSpace
A Swift wrapper around a libxml2 namespace definition.