pugixml.pugi.XPathNodeSetΒΆ

class pugixml.pugi.XPathNodeSet

Bases: pybind11_object

A fixed-size collection of XPath nodes.

Members:

TYPE_SORTED

TYPE_SORTED_REVERSE

TYPE_UNSORTED

Type

Collection type.

__getitem__(*args, **kwargs)

Overloaded function.

__init__(*args, **kwargs)

Overloaded function.

__iter__(self)

Return an iterator for this collection of XPath nodes.

__len__(self)

Return the collection size.

empty(self)

Determine if this collection is empty.

first(self)

Return the first node in the collection by document order.

size(self)

Return the collection size.

sort(self[, reverse])

Sort the collection in ascending/descending order by document order.

type(self)

Return the collection type.