Op
<(_:_:)
Orders elements lexicographically by qualified name when they are distinct nodes.
static func < (lhs: XMLElement, rhs: XMLElement) -> Bool
Parameters
lhs-
The left-hand element.
rhs-
The right-hand element.
Return Value
true when lhs and rhs are different nodes and lhs sorts before rhs.
Discussion
This comparison does not walk the subtree or inspect attribute values.