beta.xpath.Sequence

The beta.xpath.Sequence class is the internal representation of an xpath/xslt/xquery data model sequence. A Sequence can contain zero or more beta.xpath.Item.

class beta.xpath.Sequence(Session session)

Class methods

classmethod beta.xpath.Sequence.create_from_item(Item item)

Methods

beta.xslt.xpath.Sequence.append(Item item)
beta.xslt.xpath.Sequence.serialize(SerializationParams params)

Serialize the sequence according to the provided beta.xpath.SerializationParams. The result will be a string.

beta.xslt.xpath.Sequence.serialize_encoded(SerializationParams params)

Serialize the sequence according to the provided beta.xpath.SerializationParams. The result will be a byte array in the specified encoding.

beta.xslt.xpath.Sequence.type_name()

Special methods

__eq__, __ge__, __getitem__, __gt__, __iadd__, __iter__, __le__, __len__, __lt__, __ne__