Liking cljdoc? Tell your friends :D

hive-kdenlive.mlt.xml

XML text <-> element tree, written by hand over strings.

Node shape: {:tag string :attrs [[name value] ...] :content [node-or-string ...]}. Attribute order is a vector so emission is byte-deterministic on every host.

emit : node -> string (declaration, one-space indent, trailing newline). parse: string -> {:ok node} | {:error :mlt/xml-malformed :at int :message string}.

Portable: clojure.core and clojure.string only, no reader conditionals.

XML text <-> element tree, written by hand over strings.

Node shape: {:tag string :attrs [[name value] ...] :content [node-or-string ...]}.
Attribute order is a vector so emission is byte-deterministic on every host.

`emit` : node -> string (declaration, one-space indent, trailing newline).
`parse`: string -> {:ok node} | {:error :mlt/xml-malformed :at int :message string}.

Portable: clojure.core and clojure.string only, no reader conditionals.
raw docstring

attrclj/s

(attr node k)

Value of attribute k on node, or nil.

Value of attribute `k` on `node`, or nil.
sourceraw docstring

childrenclj/s

(children node)
(children node tag)

Element children of node with tag tag (all element children when tag is nil).

Element children of `node` with tag `tag` (all element children when tag is nil).
sourceraw docstring

elementclj/s

(element tag attrs & content)

Build a node. attrs is a vector of [name value] pairs; nil values are dropped.

Build a node. `attrs` is a vector of [name value] pairs; nil values are dropped.
sourceraw docstring

emitclj/s

(emit node)

Serialize a node tree to an XML document string.

Serialize a node tree to an XML document string.
sourceraw docstring

escape-attrclj/s

(escape-attr s)
source

escape-textclj/s

(escape-text s)
source

parseclj/s

(parse s)

Parse an XML document string into a node tree.

Parse an XML document string into a node tree.
sourceraw docstring

textclj/s

(text node)

Concatenated text content of node.

Concatenated text content of `node`.
sourceraw docstring

unescapeclj/s

(unescape s)

Decode XML entities in s. An unknown or unterminated entity is kept verbatim.

Decode XML entities in `s`. An unknown or unterminated entity is kept verbatim.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close