Liking cljdoc? Tell your friends :D

clj-xml.impl

The underlying functions that implement the public interface

The underlying functions that implement the public interface
raw docstring

attrs-lengthclj

source

attrs-tag->tagclj

(attrs-tag->tag attrs-tag)

Remove a suffix of -attrs/_ATTRS from attrs-tag

Remove a suffix of `-attrs/_ATTRS` from `attrs-tag`
sourceraw docstring

deformatclj

(deformat s {:keys [remove-newlines?]})

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
sourceraw docstring

edn-attrs-tag?clj

(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`
sourceraw docstring

keyword->xml-tagclj

(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
sourceraw docstring

tag->attrs-tagclj

(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?`
sourceraw docstring

unique-tags?clj

(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
sourceraw docstring

update-keys*clj

(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`
sourceraw docstring

update-vals*clj

(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`
sourceraw docstring

xml-tag->keywordclj

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close