Liking cljdoc? Tell your friends :D

saxon

Clojure Saxon wrapper

Clojure Saxon wrapper
raw docstring

atomic?clj

(atomic? val)

Returns true if XdmItem or a subclass (XdmAtomicValue, XdmNode) is an atomic value.

Returns true if XdmItem or a subclass (XdmAtomicValue, XdmNode) is an atomic value.
raw docstring

attribute?clj

(attribute? nd)

Returns true if node is attribute.

Returns true if node is attribute.
raw docstring

comment?clj

(comment? nd)

Returns true if node is comment.

Returns true if node is comment.
raw docstring

compile-xmlclj

(compile-xml x)

Compiles XML into an XdmNode, the Saxon currency for in-memory tree representation. Takes File, URL, InputStream, Reader, or String.

Compiles XML into an XdmNode, the Saxon 
currency for in-memory tree representation. Takes
File, URL, InputStream, Reader, or String.
raw docstring

compile-xpathclj

(compile-xpath xpath & ns-map)

Compiles XPath expression (given as string), returns function that applies it to compiled doc or node. Takes optional map of prefixes (as keywords) and namespace URIs.

Compiles XPath expression (given as string), returns
function that applies it to compiled doc or node. Takes 
optional map of prefixes (as keywords) and namespace URIs.
raw docstring

compile-xqueryclj

(compile-xquery xquery & ns-map)

Compiles XQuery expression (given as string), returns function that applies it to compiled doc or node. Takes optional map of prefixes (as keywords) and namespace URIs.

Compiles XQuery expression (given as string), returns
function that applies it to compiled doc or node. Takes 
optional map of prefixes (as keywords) and namespace URIs.
raw docstring

compile-xsltclj

(compile-xslt f)

Compiles stylesheet (from anything convertible to javax. xml.transform.Source), returns function that applies it to compiled doc or node.

Compiles stylesheet (from anything convertible to javax.
xml.transform.Source), returns function that applies it to 
compiled doc or node.
raw docstring

document?clj

(document? nd)

Returns true if node is document.

Returns true if node is document.
raw docstring

element?clj

(element? nd)

Returns true if node is element.

Returns true if node is element.
raw docstring

namespace?clj

(namespace? nd)

Returns true if node is namespace.

Returns true if node is namespace.
raw docstring

node-kindclj

(node-kind nd)

Returns keyword corresponding to node's kind.

Returns keyword corresponding to node's kind.
raw docstring

node-nameclj

(node-name nd)

Returns the name of the node (as QName).

Returns the name of the node (as QName).
raw docstring

node-nsclj

(node-ns q)

Returns the namespace of the node or node name.

Returns the namespace of the node or node name.
raw docstring

node-pathclj

(node-path nd)

Returns XPath to node.

Returns XPath to node.
raw docstring

parent-nodeclj

(parent-node nd)

Returns parent node of passed node.

Returns parent node of passed node.
raw docstring

procclj

Returns the Saxon Processor object, the thread-safe generator class for documents, stylesheets, & XPaths. Creates & defs the Processor if not already created.

Returns the Saxon Processor object, the thread-safe generator class for documents, 
stylesheets, & XPaths. Creates & defs the Processor if not already created.
raw docstring

processing-instruction?clj

(processing-instruction? nd)

Returns true if node is processing instruction.

Returns true if node is processing instruction.
raw docstring

queryclj

(query q nd)
(query q nses nd)

Run query on node. Arity of two accepts (1) string or compiled query fn & (2) node; arity of three accepts (1) string query, (2) namespace map, & (3) node.

Run query on node. Arity of two accepts (1) string or compiled query fn & (2) node;
arity of three accepts (1) string query, (2) namespace map, & (3) node.
raw docstring

serializecljmultimethod


set-config-property!clj

(set-config-property! prop value)

Sets a configuration property on the Saxon Processor object. Takes keyword representing a net.sf.saxon.FeatureKeys field and the value to be set, e.g. (set-config-property! :line-numbering true) Lets errors bubble up.

Sets a configuration property on the Saxon Processor object. Takes keyword
representing a net.sf.saxon.FeatureKeys field and the value to be set, e.g.
  (set-config-property! :line-numbering true)
Lets errors bubble up.
raw docstring

text?clj

(text? nd)

Returns true if node is text.

Returns true if node is text.
raw docstring

with-default-nsclj

(with-default-ns nmspce q)

Returns XQuery string with nmspce declared as default element namespace.

Returns XQuery string with nmspce declared as default element namespace.
raw docstring

xml-sourcecljmultimethod

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

× close