Struct elementtree::Element [] [src]

pub struct Element { /* fields omitted */ }

Represents an XML element.

Methods

impl Element
[src]

Parses some data into an Element

Returns the text of a tag

Returns the tail text of a tag

The tag of the element as qualified name

Returns the number of children

Returns the nth child.

Returns an iterator over all children.

Returns all children with the given name.

Finds the first matching child

Look up an attribute by qualified name.

Returns an iterator over all attributes

Count the attributes

Finds the first element that match a given path downwards

Trait Implementations

impl Debug for Element
[src]

Formats the value using the given formatter.

impl Clone for Element
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more