A type-safe Rust XMPP library.
Find a file
lumi c5c8dee20a Get rid of IntoElements, replace it with Into<Node> and <T: Into<Node> IntoIterator<Item = T>. This is a backwards-incompatible change, but should require minimal changes.
Doing this splits the `append` method in `ElementBuilder` into two methods. `append` now appends exactly one node, while `append_all` appends an iterator of nodes.

Add `remove_child`, which removes the first child that has a specific name and namespace, then returns it if it exists.

Add a lot of convenience methods on `Node`: `as_text_mut`, `as_element_mut`, `into_text`, `into_element`.
2018-12-23 15:42:50 +01:00
examples fix clippy warnings 2017-11-12 19:58:07 +00:00
src Get rid of IntoElements, replace it with Into<Node> and <T: Into<Node> IntoIterator<Item = T>. This is a backwards-incompatible change, but should require minimal changes. 2018-12-23 15:42:50 +01:00
.gitignore add .gitignore, add README.md, add license 2017-02-19 20:57:59 +01:00
.gitlab-ci.yml Update docker image used in CI 2018-01-01 13:39:32 +00:00
Cargo.toml Update quick-xml and bump version 2018-10-21 20:24:32 +02:00
CHANGELOG.md impl IntoAttributeValue for std::net::IpAddr 2018-05-29 16:03:44 +02:00
LICENSE linewrap license 2017-04-26 01:26:29 +02:00
README.md unescape_and_decode_value for element attributes 2017-07-08 12:18:15 +08:00

minidom-rs

What's this?

A minimal DOM library on top of quick-xml.

What license is it under?

MIT. See LICENSE.

License yadda yadda.

Copyright 2017 minidom-rs contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.