use indexmap::IndexMap;
#[derive(Clone, Debug, PartialEq)]
pub struct Document {
pub root: Element,
}
#[derive(Clone, Debug, PartialEq)]
pub struct Element {
pub name: String,
pub attributes: IndexMap<String, String>,
pub children: Vec<Content>,
}
#[derive(Clone, Debug, PartialEq)]
pub enum Content {
Element(Element),
Text(String),
}