Type Definition xrust::item::Sequence[][src]

type Sequence<'a> = Vec<Rc<Item<'a>>>;
Expand description

In XPath, the Sequence is the fundamental data structure. It is an ordered collection of Items. The Rust impementation is a Vector of reference counted Items.

See SequenceTrait for methods.

Trait Implementations

Returns the string value of the Sequence.

Renders the Sequence as XML

Renders the Sequence as JSON

Push a Node on to the Sequence

Push a roxmltree node on to the Sequence

Push a Value on to the Sequence

Push a JsonValue on to the Sequence

Push an Item on to the Sequence. This clones the Item.

Calculate the effective boolean value of the Sequence

Convenience routine for integer value of the Sequence. The Sequence must be a singleton; i.e. be a single item.