Liking cljdoc? Tell your friends :D

clj-xpath.core


$xclj

($x xp xml-thing & [opts])
source

$x:attrsclj

($x:attrs xp xml & [opts])

Perform an xpath search, resulting in one and only one node. Return only the node's attrs.

Perform an xpath search, resulting in one and only one node.  Return only the node's attrs.
sourceraw docstring

$x:attrs*clj

($x:attrs* xp xml)
($x:attrs* xp xml attr-name)

Perform an xpath search, resulting in zero or more nodes. When an attr-name is passed, return only each the node's attrs.

Perform an xpath search, resulting in zero or more nodes.  When an attr-name is passed, return only each the node's attrs.
sourceraw docstring

$x:attrs+clj

($x:attrs+ xp xml & [opts])

Perform an xpath search, resulting in one or more nodes. Return only each the node's attrs.

Perform an xpath search, resulting in one or more nodes.  Return only each the node's attrs.
sourceraw docstring

$x:attrs?clj

($x:attrs? xp xml & [opts])

Perform an xpath search, resulting in zero or one node. Return only the node's attrs.

Perform an xpath search, resulting in zero or one node.  Return only the node's attrs.
sourceraw docstring

$x:nodeclj

($x:node xp xml & [opts])

Perform an xpath search, resulting in one and only one node. Returns the node.

Perform an xpath search, resulting in one and only one node.  Returns the node.
sourceraw docstring

$x:node*clj

($x:node* xp xml & [opts])

Perform an xpath search, resulting in zero or more nodes. Returns the nodes.

Perform an xpath search, resulting in zero or more nodes.  Returns the nodes.
sourceraw docstring

$x:node+clj

($x:node+ xp xml & [opts])

Perform an xpath search, resulting in one or more nodes. Returns the nodes.

Perform an xpath search, resulting in one or more nodes.  Returns the nodes.
sourceraw docstring

$x:node?clj

($x:node? xp xml & opts)

Perform an xpath search, resulting in zero or one node. Returns the node.

Perform an xpath search, resulting in zero or one node.  Returns the node.
sourceraw docstring

$x:tagclj

($x:tag xp xml & [opts])
source

$x:tag*clj

($x:tag* xp xml & [opts])
source

$x:tag+clj

($x:tag+ xp xml & [opts])

Perform an xpath search, resulting in one or more nodes. Return only the tag name.

Perform an xpath search, resulting in one or more nodes.  Return only the tag name.
sourceraw docstring

$x:tag?clj

($x:tag? xp xml & [opts])
source

$x:textclj

($x:text xp xml & [opts])

Perform an xpath search, resulting in one and only one node. Return only the node's text.

Perform an xpath search, resulting in one and only one node.  Return only the node's text.
sourceraw docstring

$x:text*clj

($x:text* xp xml & [opts])

Perform an xpath search, resulting in zero or more nodes. Return only each the node's text.

Perform an xpath search, resulting in zero or more nodes.  Return only each the node's text.
sourceraw docstring

$x:text+clj

($x:text+ xp xml & [opts])

Perform an xpath search, resulting in one or more nodes. Return only each the node's text.

Perform an xpath search, resulting in one or more nodes.  Return only each the node's text.
sourceraw docstring

$x:text?clj

($x:text? xp xml & [opts])

Perform an xpath search, resulting in zero or one node. Return only the node's text.

Perform an xpath search, resulting in zero or one node.  Return only the node's text.
sourceraw docstring

*default-encoding*clj

source

*namespace-aware*clj

source

*validation*clj

source

*xpath-compiler*clj

source

*xpath-factory*clj

source

->qualified-nameclj

source

abs-pathclj

source

attrsclj

source

dom-node-list->seqclj

source

format-tagcljmultimethod

source

input-stream->domclj

(input-stream->dom istr & [opts])
source

make-dom-factoryclj

(make-dom-factory opts)

Inputs: [opts :- lib/Options] Returns: DocumentBuilderFactory

Inputs: [opts :- lib/Options]
Returns: DocumentBuilderFactory
sourceraw docstring

merge-dynvars-with-optsclj

(merge-dynvars-with-opts opts)

Inputs: [opts :- (s/maybe lib/Options)] Returns: lib/Options

Inputs: [opts :- (s/maybe lib/Options)]
Returns: lib/Options
sourceraw docstring

node->mapclj

source

node->xmlclj

source

node-nameclj

source

nscontextclj

source

register-xpath-functionclj

(register-xpath-function qualified-name arity f)
source

set-namespace-context!clj

(set-namespace-context! context-map)

Set the namespace context on the XPath Compiler in scope. See with-namespace-awareness* and with-namespace-awareness.

Set the namespace context on the XPath Compiler in scope.  See with-namespace-awareness* and with-namespace-awareness.
sourceraw docstring

summarizeclj

source

tagclj

source

textclj

source

with-namespace-awarenesscljmacro

(with-namespace-awareness & body)

Helper macro for with-namespace-awareness*.

Helper macro for with-namespace-awareness*.
sourceraw docstring

with-namespace-awareness*clj

(with-namespace-awareness* f)

Wrap the call to f with a binding setting namespace-aware to true and a XPath factory constructed with namespace awareness.

Wrap the call to f with a binding setting *namespace-aware* to true and a XPath factory constructed with namespace awareness.
sourceraw docstring

with-namespace-contextcljmacro

(with-namespace-context context-map & body)

Helper macro for with-namespace-context.

Helper macro for with-namespace-context.
sourceraw docstring

with-namespace-context*clj

(with-namespace-context* context-map f)

Call f in a context with namespace awareness enabled, and the given context map.

Call f in a context with namespace awareness enabled, and the given context map.
sourceraw docstring

xml->docclj

(xml->doc thing & [opts])
source

xml-bytes->domclj

(xml-bytes->dom bytes & [opts])
source

xmlnsmap-from-documentclj

source

xmlnsmap-from-nodeclj

source

xmlnsmap-from-root-nodeclj

(xmlnsmap-from-root-node xml & [opts])
source

xp:compileclj

(xp:compile xpexpr)
source

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

× close