xmpp-rs/minidom
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maxime “pep” Buquet 19865e5f1e minidom: breaking: Allow getting Element attributes by namespace
- Move Element.attributes to `AttrMap`, slowly using rxml's features and
  unrolling our own.
- Add Element::attr_ns that requires the attribute namespace.
  Element:attr defaults to rxml::Namespace::none() but the interface
  changes nonetheless for a &NcNameStr. Similar changes on
  `ElementBuilder` methods.
- Remove iterator structs for attributes, return a ref on the AttrMap
  directly as we don't need to keep attributes' internals hidden
  anymore.
- Enable rxml's `macros` feature within tests to access the `xml_ncname`
  macro.

Signed-off-by: pep <pep@bouah.net>
2025-10-22 18:51:39 +02:00
..
examples minidom/examples: silence warning on unused property in struct 2023-06-01 16:25:38 +02:00
src minidom: breaking: Allow getting Element attributes by namespace 2025-10-22 18:51:39 +02:00
Cargo.toml minidom: breaking: Allow getting Element attributes by namespace 2025-10-22 18:51:39 +02:00
CHANGELOG.md minidom: breaking: Allow getting Element attributes by namespace 2025-10-22 18:51:39 +02:00
LICENSE Remove the -rs suffix of jid, minidom and xmpp 2020-06-22 02:17:32 +02:00
README.md minidom: Specify XML subset restrictions in readme 2025-03-27 11:40:47 +00:00

minidom

What's this?

A minimal DOM library on top of rxml, targeting exclusively the subset of XML useful for XMPP.

Restriction Supported Unsupported
Namespaces are mandatory <a xmlns="ns"></a> <a></a>