Liking cljdoc? Tell your friends :D

clojure.data.xml.name


*gen-prefix-counter*clj

Thread local counter for a single document

Thread local counter for a single document
sourceraw docstring

alias-nsclj

(alias-ns & {:as alias-nss})

Define a clojure namespace alias for shortened keyword and symbol namespaces. Similar to clojure.core/alias, but if namespace doesn't exist, it is created.

Example

(declare-ns :xml.dav "DAV:") (alias-ns :D :xml.dav) {:tag ::D/propfind :content []}

Define a clojure namespace alias for shortened keyword and symbol namespaces.
 Similar to clojure.core/alias, but if namespace doesn't exist, it is created.

 ## Example
 (declare-ns :xml.dav "DAV:")
 (alias-ns :D :xml.dav)
{:tag ::D/propfind :content []}
sourceraw docstring

canonical-nameclj

(canonical-name uri local prefix)
source

declare-nsclj

(declare-ns & {:as cljns-xmlnss})

Define mappings in the global keyword-ns -> qname-uri mapping table. Arguments are pairs of ns-name - qname-uri ns-name must be a string, symbol, keyword or clojure namespace. The canonical form is string. ns-uri must be a string

Define mappings in the global keyword-ns -> qname-uri mapping table.
Arguments are pairs of ns-name - qname-uri
ns-name must be a string, symbol, keyword or clojure namespace. The canonical form is string.
ns-uri must be a string
sourceraw docstring

empty-namespaceclj

source

gen-prefixclj

(gen-prefix)
(gen-prefix n)

Generates an xml prefix. Zero-arity can only be called, when gen-prefix-counter is bound and will increment it.

Generates an xml prefix.
Zero-arity can only be called, when *gen-prefix-counter* is bound and will increment it.
sourceraw docstring

make-qnameclj

(make-qname uri name prefix)
source

merge-nssclj

(merge-nss nss1 nss2)

Merge two attribute sets, deleting assignments of empty-string

Merge two attribute sets, deleting assignments of empty-string
sourceraw docstring

namespaced?clj

(namespaced? qn)
source

ns-uriclj

(ns-uri ns)

Look up xmlns uri to keyword namespace

Look up xmlns uri to keyword namespace
sourceraw docstring

parse-qnameclj

source

qnameclj

(qname name)
(qname uri name)
(qname uri name prefix)
source

qname-localclj

(qname-local qname)

Get the name for this qname

Get the name for this qname
sourceraw docstring

qname-uriclj

(qname-uri qname)

Get the namespace uri for this qname

Get the namespace uri for this qname
sourceraw docstring

separate-xmlnsclj

(separate-xmlns attrs cont)

Call cont with two args: attributes and xmlns attributes

Call cont with two args: attributes and xmlns attributes
sourceraw docstring

to-qnameclj

(to-qname n)
source

uri-nsclj

(uri-ns uri)

Look up keyword namespace to xmlns uri

Look up keyword namespace to xmlns uri
sourceraw docstring

xmlns-attr?clj

(xmlns-attr? qn)

Is this qname an xmlns declaration?

Is this qname an xmlns declaration?
sourceraw docstring

xmlns-uriclj

source

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

× close