(attr-ns-remover nss)
(buffered-image-attr buffered-image)
(data-uri bytes mime-type)
(enlive->hiccup document)
(enlive-tag? x)
(extract-svg-content document & {:keys [namespaces]})
Extract "useful" SVG content from an enlive document for inclusion to another SVG document. Returns a map with :content and :defs that contain maps of SVG IDs (as keywords) to SVG elements (in clojure.xml format). Only tags and attrs with the namespace svg or default namespace are included.
Extract "useful" SVG content from an enlive document for inclusion to another SVG document. Returns a map with :content and :defs that contain maps of SVG IDs (as keywords) to SVG elements (in clojure.xml format). Only tags and attrs with the namespace svg or default namespace are included.
(load-enlive-svg filename)
(namespace tag-name)
(raster-image-attr filename format)
(render-png doc filename)
(render-png doc filename options)
(render-svg doc filename)
(render-svg-string doc)
(slurp-data-uri filename mime-type)
(spit-svg xml filename)
(tag-namespace-not= ns)
Custom enlive selector to select tags without particular namespaces. Pass one namespace as a keyword or a set to select several namespaces.
Custom enlive selector to select tags *without* particular namespaces. Pass one namespace as a keyword or a set to select several namespaces.
(tag-namespace= ns)
Custom enlive selector to select tags with particular namespaces. Pass one namespace as a keyword or a set to select several namespaces.
Custom enlive selector to select tags with particular namespaces. Pass one namespace as a keyword or a set to select several namespaces.
(xml->svg-document-string xml)
Converts clojure.xml representation to an SVG document string, complete with doctype and XML declaration.
Converts clojure.xml representation to an SVG document string, complete with doctype and XML declaration.
(xml->xml-string xml)
Converts clojure.xml representation to an XML string.
Converts clojure.xml representation to an XML string.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close