diff options
author | 2024-11-20 15:10:36 +0000 | |
---|---|---|
committer | 2024-11-20 15:10:36 +0000 | |
commit | a3dc4e1475a92c011cc55a070e268036abe88b01 (patch) | |
tree | d0aa825d8dae42ca65263605f98dfc1b0e237736 /src/element.rs | |
parent | 0175a2d3651fac3337ef256c26eddee4a6ccb008 (diff) | |
download | peanuts-a3dc4e1475a92c011cc55a070e268036abe88b01.tar.gz peanuts-a3dc4e1475a92c011cc55a070e268036abe88b01.tar.bz2 peanuts-a3dc4e1475a92c011cc55a070e268036abe88b01.zip |
WIP: write start tag of element
Diffstat (limited to 'src/element.rs')
-rw-r--r-- | src/element.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/element.rs b/src/element.rs index 6d2a6b7..d883c04 100644 --- a/src/element.rs +++ b/src/element.rs @@ -1,10 +1,14 @@ // elements resemble a final tree, including inherited namespace information -use std::collections::{HashMap, HashSet}; +use std::{ + collections::{HashMap, HashSet}, + convert::Infallible, + str::FromStr, +}; use crate::{ error::Error, - xml::{self, Attribute}, + xml::{self, parsers_complete::Parser, Attribute}, }; // when are namespaces names chosen then if they are automatically calculated |