Mimic the logic of xpath boolean() through typeclass, see AsBoolean / XmlDSL
Unpack the attribute from the tuple
Sort in document order.
By default a List, eager/strict evaluation, is used.
By default a List, eager/strict evaluation, is used. The user of the library can simply choose another collection to wrap the xmlPath