clojure.data.xml.pu-map
(source)Provides a bidirectional mapping for keeping track of prefix->uri mappings in xml namespaces.
This has the semantics of a basic key -> multiple values map + two special features, both of which are dictated by the xml standard:
- instead of a special dissoc, there is assoc to empty string or nil
- there are two fixed, unique mappings:
- "xml" <-> ["http://www.w3.org/2000/xmlns/"]
- "xmlns" <-> ["http://www.w3.org/XML/1998/namespace"]
Public Variable | Short Description |
---|---|
EMPTY (clj) | |
assoc (clj) | |
assoc! (clj) | |
get (clj) | |
get-prefix (clj) | |
get-prefixes (clj) | |
merge (clj) | Merge two pu-maps, left to right. |
merge-prefix-map (clj) | Merge a prefix map into pu-map. |
persistent! (clj) | |
prefix-map (clj) | |
reduce-diff (clj) | A high-performance diffing operation, that reduces f over changed and removed prefixes. |
transient (clj) | |
uri-map (clj) |