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
I'm looking through the AttrError and noticed several references to iteration/parsing modes
This error can be raised only when the iterator is in XML mode.
...depending on the parsing mode.
I'm curious how this can be done. I've tried searching through the project and docs for how these modes can be selected but haven't found anything in particular.
Is this mode something I can add via a config option, or does it depend on something else like a doctype, html tag, namespace, etc? eg If I want to parse in HTML mode or something.
The text was updated successfully, but these errors were encountered:
Based on the top-level crate docs, I think this refers to the split between manual serialization/deserialization via Reader/Writer APIs on the one hand, and the serde API on the other. The former would be what is referred to here as XML mode. (I'm not a maintainer, so I could be wrong, but this is my reading of this.)
This sentence refers to the new and html methods of Attributes struct and corresponding attributes and html_attributes iterators. You choose the mode by using of one of those methods.
I'm looking through the AttrError and noticed several references to iteration/parsing modes
I'm curious how this can be done. I've tried searching through the project and docs for how these modes can be selected but haven't found anything in particular.
Is this mode something I can add via a config option, or does it depend on something else like a doctype, html tag, namespace, etc? eg If I want to parse in HTML mode or something.
The text was updated successfully, but these errors were encountered: