pub fn from_str<'a, T: XmlLoad<'a>>(data: &'a str) -> Result<T, XmlError>
Get a type by loading it from a string containing an XML document.