0d0c4b76eb
The order of attributes in an `Element` doesn't matter anymore. `<elem a="b" c="d" />` and `<elem c="d" a="b" />` are now correctly considered equal. For that I had to derive `PartialOrd` and `Ord` for `Attribute`. This allows us to sort cloned vectors of `Attribute` in the `PartialEq` implementation and compare them instead of the struct `attributes`. Fixes #3 |
||
---|---|---|
examples | ||
src | ||
.gitignore | ||
.gitlab-ci.yml | ||
Cargo.toml | ||
COPYING | ||
COPYING.LESSER | ||
README.md |
minidom-rs
What's this?
A minimal DOM library on top of xml-rs.
What license is it under?
LGPLv3 or later. See COPYING
and COPYING.LESSER
.
License yadda yadda.
Copyright 2017, minidom-rs contributors.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.