@@ -2,10 +2,10 @@ xml-rs, an XML library for Rust
22===============================
33
44[ ![ CI] ( https://github.com/kornelski/xml-rs/actions/workflows/main.yml/badge.svg )] ( https://github.com/kornelski/xml-rs/actions/workflows/main.yml )
5- [ ![ crates.io] [ crates-io-img ]] ( https://lib.rs/crates/xml-rs )
6- [ ![ docs] [ docs-img ]] ( https://docs.rs/xml-rs / )
5+ [ ![ crates.io] [ crates-io-img ]] ( https://lib.rs/crates/xml )
6+ [ ![ docs] [ docs-img ]] ( https://docs.rs/xml/ )
77
8- [ Documentation] ( https://docs.rs/xml-rs / )
8+ [ Documentation] ( https://docs.rs/xml/ )
99
1010 [ crates-io-img ] : https://img.shields.io/crates/v/xml-rs.svg
1111 [ docs-img ] : https://img.shields.io/badge/docs-latest%20release-6495ed.svg
@@ -63,7 +63,7 @@ Reading XML documents
6363
6464[ ` xml::reader::EventReader ` ] ( EventReader ) requires a [ ` Read ` ] ( stdread ) instance to read from. It can be a ` File ` wrapped in ` BufReader ` , or a ` Vec<u8> ` , or a ` &[u8] ` slice.
6565
66- [ EventReader ] : https://docs.rs/xml-rs /latest/xml/reader/struct.EventReader.html
66+ [ EventReader ] : https://docs.rs/xml/latest/xml/reader/struct.EventReader.html
6767[ stdread ] : https://doc.rust-lang.org/stable/std/io/trait.Read.html
6868
6969` EventReader ` implements ` IntoIterator ` trait, so you can use it in a ` for ` loop directly:
@@ -94,7 +94,7 @@ fn main() -> std::io::Result<()> {
9494 eprintln!("Error: {e}");
9595 break;
9696 }
97- // There's more: https://docs.rs/xml-rs /latest/xml/reader/enum.XmlEvent.html
97+ // There's more: https://docs.rs/xml/latest/xml/reader/enum.XmlEvent.html
9898 _ => {}
9999 }
100100 }
@@ -122,7 +122,7 @@ error or end-of-document event once and will produce `None` afterwards.
122122It is also possible to tweak parsing process a little using [ ` xml::reader::ParserConfig ` ] [ ParserConfig ] structure.
123123See its documentation for more information and examples.
124124
125- [ ParserConfig ] : https://docs.rs/xml-rs /latest/xml/reader/struct.ParserConfig.html
125+ [ ParserConfig ] : https://docs.rs/xml/latest/xml/reader/struct.ParserConfig.html
126126
127127You can find a more extensive example of using ` EventReader ` in ` src/analyze.rs ` , which is a
128128small program (BTW, it is built with ` cargo build ` and can be run after that) which shows various
@@ -202,12 +202,12 @@ XmlEvent::cdata("some unescaped text")
202202Of course, one can create ` XmlEvent ` enum variants directly instead of using the builder DSL.
203203There are more examples in [ ` xml::writer::XmlEvent ` ] [ XmlEvent ] documentation.
204204
205- [ XmlEvent ] : https://docs.rs/xml-rs /latest/xml/reader/enum.XmlEvent.html
205+ [ XmlEvent ] : https://docs.rs/xml/latest/xml/reader/enum.XmlEvent.html
206206
207207The writer has multiple configuration options; see ` EmitterConfig ` documentation for more
208208information.
209209
210- [ EmitterConfig ] : https://docs.rs/xml-rs /latest/xml/writer/struct.EmitterConfig.html
210+ [ EmitterConfig ] : https://docs.rs/xml/latest/xml/writer/struct.EmitterConfig.html
211211
212212Bug reports
213213------------
0 commit comments