xml-rs icon indicating copy to clipboard operation
xml-rs copied to clipboard

An XML library in Rust

Results 53 xml-rs issues
Sort by recently updated
recently updated
newest added

XML coming from external sources sometimes has an UTF-8 marker at the beginning, which is invalid UTF-8 and will cause parse errors, so add a from_bytes() convenience method that strips...

Can be useful for code that reads nested element trees in various places and wants to skip known or unknown elements that are not of interest. This way it doesn't...

with given input file: [in.zip](https://github.com/netvl/xml-rs/files/7271921/in.zip) and following code: ```rust fn main(){ let filepath = ""; let data = std::fs::read(filepath).unwrap(); let reader = xml::reader::EventReader::new(&data); for _ in reader.into_iter() {} } ```...

- fix some basic warnings like `try!()` -> `?` - parse the encoding whatwg label - convert text in `XmlEvent::Characters` to `utf-8` if a different encoding was detected Basic idea...

I build and maintain a library for parsing property list files in Rust, [plist-rs](http://github.com/conradev/plist-rs), and I created benchmarks to compare it to the other common plist parsing libraries: ``` sh...

This can be useful for code that uses both `xml::reader::Error` and `xml::writer::Error` (e.g. a function that processes an input XML file and outputs a different XML file). In that case,...

I've noticed that the error handling in this crate is highly relying on Strings (or `Cow

I would like to utilize the position from the events iterator without having to consume it to get the reader. I imagine this is all it would take. ```rust impl...

Hi, just wanted to check out whether there where plans and/or interest in this. ~lwk

feature
would be nice to have

Hi, While reading [EmitterConfig]'s docs of version `0.8.0`, I think it doesn't support single quote/double quote yet. May I ask if you could add that support? Or if you agree,...