Thread local counter for a single document
Thread local counter for a single document
(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.
(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 []}
(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
(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.
(merge-nss nss1 nss2)
Merge two attribute sets, deleting assignments of empty-string
Merge two attribute sets, deleting assignments of empty-string
(ns-uri ns)
Look up xmlns uri to keyword namespace
Look up xmlns uri to keyword namespace
(qname-local qname)
Get the name for this qname
Get the name for this qname
(qname-uri qname)
Get the namespace uri for this qname
Get the namespace uri for this qname
(separate-xmlns attrs cont)
Call cont with two args: attributes and xmlns attributes
Call cont with two args: attributes and xmlns attributes
(uri-ns uri)
Look up keyword namespace to xmlns uri
Look up keyword namespace to xmlns uri
(xmlns-attr? qn)
Is this qname an xmlns declaration?
Is this qname an xmlns declaration?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close