tupelo.parse.xml

Element

enlive-normalize

(enlive-normalize item)
Normalize Enlive data replacing `nil` values for :attrs or :content with empty maps & vectors, respectively.
Also coerces all :content to vector. 

enlive-remove-whitespace

(enlive-remove-whitespace item)
Removes whilespace strings from Enlive data :content vectors.

parse

(parse xml-str)
Inputs: [xml-str :- s/Str]

Parses a string of XML data, returning Enlive-format data

parse-raw

(parse-raw xml-str)
Inputs: [xml-str :- s/Str]

Parses a string of XML data, returning Enlive-format data.
Does not include whitespace removal or enlive normalization.

parse-raw-streaming

(parse-raw-streaming xml-input)(parse-raw-streaming xml-input parse-fn)
Inputs: ([xml-input] [xml-input parse-fn])

Parses XML data from an input-stream or Reader, returning Enlive-format data.
Does not include whitespace removal or enlive normalization.

parse-streaming

(parse-streaming xml-input)(parse-streaming xml-input parse-fn)
Inputs: ([xml-input] [xml-input parse-fn])

Parses XML data from an input-stream or Reader, returning Enlive-format data