pub fn from_str<T: DeserializeOwned>(s: &str) -> Result<T, String>
Deserializes a value from an XML string.