Liking cljdoc? Tell your friends :D

mirthsync.xml


add-update-childclj

(add-update-child root-loc child-loc)

Adds or updates (by ID) an child element within the supplied root. Assumes that the typical mirth xml structure is present with a root collection element and an ID element within the child.

Adds or updates (by ID) an child element within the supplied root. Assumes that
the typical mirth xml structure is present with a root collection element
and an ID element within the child.
raw docstring

indent-strclj

(indent-str e)

Indents the xml element as clojure.data.xml/indent-str does, except that characters above U+FFFF are written as themselves rather than as character references. In an element holding control characters that XML 1.0 forbids, those characters are written as character references (for example ), the way the server writes them. parse-str reads them back unchanged. The same string serves as a request body.

Indents the xml element as clojure.data.xml/indent-str does, except
that characters above U+FFFF are written as themselves rather than as
character references. In an element holding control characters that
XML 1.0 forbids, those characters are written as character references
(for example ), the way the server writes them. parse-str reads
them back unchanged. The same string serves as a request body.
raw docstring

parse-strclj

(parse-str x)

Parses a string of xml. A document holding references to control characters that XML 1.0 forbids is parsed with those characters swapped for stand-ins, which are swapped back in the parsed tree.

Parses a string of xml. A document holding references to control
characters that XML 1.0 forbids is parsed with those characters swapped
for stand-ins, which are swapped back in the parsed tree.
raw docstring

serialize-nodeclj

(serialize-node {:keys [api el-loc restrict-to-path target disk-mode]
                 :as app-conf})

Take an xml location and write to the filesystem with a meaningful name and path. If the file exists it is not overwritten unless the -f option is set. Unordered collections are sorted first unless --no-sort-unordered is set. Returns app-conf, with :restrict-found-items? set when --restrict-to-path took any of the item's files.

Take an xml location and write to the filesystem with a meaningful
name and path. If the file exists it is not overwritten unless the
-f option is set. Unordered collections are sorted first unless
--no-sort-unordered is set. Returns app-conf, with :restrict-found-items?
set when --restrict-to-path took any of the item's files.
raw docstring

sort-unorderedclj

(sort-unordered node)
(sort-unordered ancestors node)

Returns the xml element with the children of every element listed in unordered-paths sorted. Children are sorted bottom-up so nested sets are already canonical when compared.

Returns the xml element with the children of every element listed in
unordered-paths sorted. Children are sorted bottom-up so nested sets are
already canonical when compared.
raw docstring

to-zipclj

(to-zip x)

Takes a string of xml and returns an xml zipper

Takes a string of xml and returns an xml zipper
raw 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