pub fn attributes(&self) -> Children {
        Children {
            first: self.first_attribute(),
            last: self.last_attribute(),
        }
    }
// XDM
/// The attributes accessor returns the attributes of a node as an iterator containing zero or more Attribute Nodes.
/// The order of Attribute Nodes is stable but implementation dependent.
///
/// # Examples
///
/// ```
/// let doc = smop_xmltree::nod::Document::parse(
///     "<e xmlns:n='http://www.w3.org' a='b' n:a='c'/>"
/// ).unwrap();
///
/// assert_eq!(doc.root_element().attributes().count(), 2);
/// ```
XDM
The attributes accessor returns the attributes of a node as an iterator containing zero or more Attribute Nodes.
The order of Attribute Nodes is stable but implementation dependent.
XDM The attributes accessor returns the attributes of a node as an iterator containing zero or more Attribute Nodes . The order of Attribute Nodes is stable but implementation dependent .
pub fn attributes(&self) -> Children {
        Children {
            first: self.first_attribute(),
            last: self.last_attribute(),
        }
    }
pub fn attributes ( & self ) -> Children { Children { first : self . first_attribute ( ) , last : self . last_attribute ( ) , } }
XDM
The attributes accessor returns the attributes of a node as an iterator containing zero or more Attribute Nodes.
XDM The attributes accessor returns the attributes of a node as an iterator containing zero or more Attribute Nodes .
&self
examples
```
let doc = smop_xmltree::nod::Document::parse(
""
).unwrap().


` ` ` let doc = smop_xmltree :: nod :: Document :: parse ( " " ) . unwrap () .