xmljson/element
Types
pub type DecodeError {
DecodeError(message: String)
}
Constructors
-
DecodeError(message: String)
pub type Element {
Element(
name: String,
attributes: List(#(String, String)),
text: List(String),
children: List(Element),
namespaces: List(#(String, String)),
inherited_namespaces: List(#(String, String)),
)
}
Constructors
-
Element( name: String, attributes: List(#(String, String)), text: List(String), children: List(Element), namespaces: List(#(String, String)), inherited_namespaces: List(#(String, String)), )
Functions
pub fn inherited_namespaces(
elem: Element,
data: List(#(String, String)),
) -> Element
pub fn to_xml_type(elem: Element) -> Xml