quick-xml
quick-xml copied to clipboard
Rust high performance xml reader and writer
I have some XML that looks like: ```xml B ``` which I would like to represent in rust as: ```rust enum State { A, B, C, } struct Root {...
Cargo.toml: ```toml [package] name = "quick-xml-test" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] serde = { version = "1.0.139", features =...
Hi, I'm getting behavior that's gotta be a bug. My parsing code is pretty straitforward: ```rust fn parse_calibration(calibration: &str) -> Result { let mut result: AxiaCalibration = Default::default(); let mut...
Hi there, I've just been playing around with quick-xml to handle reading and writing of [Glyph Interchange Format](http://unifiedfontobject.org/versions/ufo3/glyphs/glif/#contour) files, and I had some observations I wanted to share. ## `[u8]`/`Cow`...
Section 3.3.3 of the XML spec (the attribute value normalization section) defines that > > For each character, entity reference, or character reference in the unnormalized attribute value, beginning with...
closes #371
just like `peek()` in the iterators
Creating an attribute from a `(&[u8], &[u8])` performs no transformation (escaping) on the provided value, but creating an attribute from `(&str, &str)` does. This feels a bit too implicit. It...
Unlike the unescape routines, the routines for escaping text don't currently utilize any SIMD accelleration. This should be possible to do via the [`jetscii`](https://docs.rs/jetscii/latest/jetscii/) crate. `memchr` is currently used by...