summaryrefslogtreecommitdiff
path: root/src/xml
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-03-01 21:50:13 +0100
committerHampusM <hampus@hampusmat.com>2023-03-01 21:50:13 +0100
commit656ca92bc5958752d6a12e2a659fe17809fe5e86 (patch)
treecdfbc60fe24e865a46b800ff3506db6a6640283f /src/xml
parentb1424312a932f345f86a93aba662add645fcf921 (diff)
feat: add informal table support
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