(enlive-normalize item)
Normalize Enlive data replacing nil
values for :attrs or :content with empty maps & vectors, respectively.
Also coerces all :content to vector.
Normalize Enlive data replacing `nil` values for :attrs or :content with empty maps & vectors, respectively. Also coerces all :content to vector.
(enlive-remove-whitespace item)
Removes whilespace strings from Enlive data :content vectors.
Removes whilespace strings from Enlive data :content vectors.
(parse xml-input)
Inputs: [xml-input :- s/Str]
Parses a string of XML data, returning Enlive-format data
Inputs: [xml-input :- s/Str] Parses a string of XML data, returning Enlive-format data
(parse-raw xml-input)
Inputs: [xml-input :- s/Str]
Parses a string of XML data, returning Enlive-format data. Does not include whitespace removal or enlive normalization.
Inputs: [xml-input :- s/Str] Parses a string of XML data, returning Enlive-format data. Does not include whitespace removal or enlive normalization.
(parse-raw-streaming xml-input)
(parse-raw-streaming xml-input parse-fn)
Inputs: ([xml-input] [xml-input parse-fn])
Parses an input-stream of XML data, returning Enlive-format data. Does not include whitespace removal or enlive normalization.
Inputs: ([xml-input] [xml-input parse-fn]) Parses an input-stream of XML data, returning Enlive-format data. Does not include whitespace removal or enlive normalization.
(parse-streaming xml-input)
(parse-streaming xml-input parse-fn)
Inputs: ([xml-input] [xml-input parse-fn])
Parses a input-stream of XML data, returning Enlive-format data
Inputs: ([xml-input] [xml-input parse-fn]) Parses a input-stream of XML data, returning Enlive-format data
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close