| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Move Element.attributes to `AttrMap`, slowly using rxml's features and unrolling our own. - Add Element::attr_ns that requires the attribute namespace. Element:attr defaults to rxml::Namespace::none() but the interface changes nonetheless for a &NcNameStr. Similar changes on `ElementBuilder` methods. - Remove iterator structs for attributes, return a ref on the AttrMap directly as we don't need to keep attributes' internals hidden anymore. - Enable rxml's `macros` feature within tests to access the `xml_ncname` macro. Signed-off-by: pep <pep@bouah.net> |
||
| .. | ||
| src | ||
| Cargo.toml | ||
| ChangeLog | ||
| README.md | ||
xso -- serde-like parsing for XML
What’s this?
This crate provides the traits for parsing XML data into Rust structs, and vice versa. You can do things like:
#[derive(FromXml, AsXml)]
#[xml(namespace = "urn:example", name = "element")]
pub struct Foo;
For more information, see its documentation on docs.rs for the latest release or the documentation for the main branch on our servers.
What license is it under?
MPL-2.0 or later, see the LICENSE file.