summaryrefslogtreecommitdiff
path: root/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/element.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xml/element.rs b/src/xml/element.rs
index 0f44182..db2878b 100644
--- a/src/xml/element.rs
+++ b/src/xml/element.rs
@@ -216,6 +216,11 @@ impl Tagged
&self.name
}
+ pub fn attributes(&self) -> &[Attribute]
+ {
+ &self.attributes
+ }
+
pub fn child_elements(&self) -> &Elements
{
&self.child_elements