You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a stopgap, basically the point of instantiating the EventReader yourself is to be able to choose the configuration options. By default, this crate activates trim_whitespace, whitespace_to_characters, cdata_to_characters, ignore_comments and coalesce_characters.
Once you have an EventReader you can deserialize using the following code.
use serde_xml_rs::de::Deserializer;let result = T::deserialize(&mutDeserializer::new(event_reader));
Would it be possible to incude an example with an event reader? It's unclear how to deserialize from an event stream between the docs here and xml-rs.
The text was updated successfully, but these errors were encountered: