The underlying functions that implement the public interface
The underlying functions that implement the public interface
(attrs-tag->tag attrs-tag)
Remove a suffix of -attrs/_ATTRS
from attrs-tag
Remove a suffix of `-attrs/_ATTRS` from `attrs-tag`
(deformat s)
Remove line termination formatting specific to Windows (since we're ingesting XML) and double spacing
Remove line termination formatting specific to Windows (since we're ingesting XML) and double spacing
(edn-attrs-tag? tag all-tags)
Returns true iff the list of all-tags
to see if it contains the normalized tag
Returns true iff the list of `all-tags` to see if it contains the normalized `tag`
(keyword->xml-tag edn-keyword)
Take a clojure keyord and turn it into the form expected by clojure.data.xml
by making it UPPER CASE and snake_cased
Take a clojure keyord and turn it into the form expected by `clojure.data.xml` by making it UPPER CASE and snake_cased
(tag->attrs-tag tag upper-case?)
Transform tag
to look like an attributes map tag by appending it with -attrs/_ATTRS
pedending on the value of upper-case?
Transform `tag` to look like an attributes map tag by appending it with `-attrs/_ATTRS` pedending on the value of `upper-case?`
(unique-tags? xml-seq)
Take an XML sequence as formatted by clojure.xml/parse
, and determine if it exclusively contains unique tags
Take an XML sequence as formatted by `clojure.xml/parse`, and determine if it exclusively contains unique tags
(update-keys m f & args)
Return m
with f
applied to each key in m
with its args
Return `m` with `f` applied to each key in `m` with its `args`
(update-vals m f & args)
Return m
with f
applied to each val in m
with its args
Return `m` with `f` applied to each val in `m` with its `args`
(xml-tag->keyword xml-tag)
Take an XML tag as extracted by clojure.data.xml
and turn it into a kebab-cased, lower case keyword
Take an XML tag as extracted by `clojure.data.xml` and turn it into a kebab-cased, lower case keyword
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close