Liking cljdoc? Tell your friends :D

sigel.xslt.elements

Functions for creating XSLT elements.

This namespace declares so many vars that conflict with vars in the Clojure core that you probably want to alias the vars in this namespace.

The docstrings in this file are copied directly from the Saxon documentation.

Functions for creating XSLT elements.

This namespace declares so many vars that conflict with vars in the
Clojure core that you probably want to alias the vars in this
namespace.

The docstrings in this file are copied directly from
[the Saxon documentation](http://www.saxonica.com/html/documentation/xsl-elements).
raw docstring

acceptclj

(accept a)

Allows a package to restrict the visibility of components exposed by a package that it uses.

Allows a package to restrict the visibility of components exposed by a
package that it uses.
sourceraw docstring

accumulatorclj

(accumulator & [a & xs])

An accumulator defines some processing that is to take place while a document is being sequentially processed: for example, a total that is to be accumulated.

An accumulator defines some processing that is to take place while a document
is being sequentially processed: for example, a total that is to be
accumulated.
sourceraw docstring

accumulator-ruleclj

(accumulator-rule & [a & xs])

Defines a rule for an accumulator.

Defines a rule for an [[accumulator]].
sourceraw docstring

analyze-stringclj

(analyze-string & [a & xs])

Applies a regular expression to a supplied string value.

Applies a regular expression to a supplied string value.
sourceraw docstring

apply-importsclj

(apply-imports & [a & xs])

Searches for a template that matches the current node and that is defined in a stylesheet that was imported (directly or indirectly) from the stylesheet containing the current template, and whose mode matches the current mode. If there is such a template, it is activated using the current node. If not, the built-in template for the kind of node is activated.

Searches for a template that matches the current node and that is defined in
a stylesheet that was imported (directly or indirectly) from the stylesheet
containing the current template, and whose mode matches the current mode. If
there is such a template, it is activated using the current node. If not, the
built-in template for the kind of node is activated.
sourceraw docstring

apply-templatesclj

(apply-templates & [a & xs])

Causes navigation from the current element, usually but not necessarily to process its children. Each selected node is processed using the best-match xsl:template defined for that node.

Causes navigation from the current element, usually but not necessarily to
process its children. Each selected node is processed using the best-match
xsl:template defined for that node.
sourceraw docstring

assertclj

(assert & [a & xs])

Used to make assertions in the form of XPath expressions, causing a dynamic error if the assertion turns out to be false.

Used to make assertions in the form of XPath expressions, causing a dynamic
error if the assertion turns out to be false.
sourceraw docstring

attributeclj

(attribute & [a & xs])

The xsl:attribute element is used to add an attribute value to an element element or literal result element, or to an element created using copy. The attribute must be output immediately after the element, with no intervening character data.

The `xsl:attribute` element is used to add an attribute value to an
[[element]] element or literal result element, or to an element created using
[[copy]]. The attribute must be output immediately after the element, with no
intervening character data.
sourceraw docstring

attribute-setclj

(attribute-set & [a & xs])

Used to declare a named collection of attributes, which will often be used together to define an output style. It is declared at the top level (subordinate to stylesheet).

Used to declare a named collection of attributes, which will often be used
together to define an output style. It is declared at the top level
(subordinate to [[stylesheet]]).
sourceraw docstring

breakclj

(break & [a & xs])

The xsl:break instruction is used within iterate, and causes premature completion before the entire input sequence has been processed.

The `xsl:break` instruction is used within [[iterate]], and causes premature
completion before the entire input sequence has been processed.
sourceraw docstring

call-templateclj

(call-template & [a & xs])

Invokes a named template.

Invokes a named template.
sourceraw docstring

catchclj

(catch & [a & xs])

In conjunction with try, the xsl:catch instruction allows recovery from dynamic errors.

In conjunction with [[try]], the `xsl:catch` instruction allows recovery from
dynamic errors.
sourceraw docstring

character-mapclj

(character-map & [a & xs])

Defines a named character map for use during serialization.

Defines a named character map for use during serialization.
sourceraw docstring

chooseclj

(choose & [a & xs])

Used to choose one of a number of alternative outputs.

Used to choose one of a number of alternative outputs.
sourceraw docstring

commentclj

(comment & [a & xs])

Indicates text that is to be output to the current output stream in the form of an XML or HTML comment.

Indicates text that is to be output to the current output stream in the form
of an XML or HTML comment.
sourceraw docstring

context-itemclj

(context-item & [a & xs])

Used to declare the initial context item for a template: whether the template requires a context item, and if so, what its expected type is.

Used to declare the initial context item for a template: whether the template
requires a context item, and if so, what its expected type is.
sourceraw docstring

copyclj

(copy & [a & xs])

Causes the current XML node in the source document to be copied to the output. The actual effect depends on whether the node is an element, an attribute, or a text node.

Causes the current XML node in the source document to be copied to the
output. The actual effect depends on whether the node is an element, an
attribute, or a text node.
sourceraw docstring

copy-ofclj

(copy-of a)

Copies the value obtained by evaluating the mandatory select attribute. It makes an exact copy.

Copies the value obtained by evaluating the mandatory select attribute. It
makes an exact copy.
sourceraw docstring

decimal-formatclj

(decimal-format a)

Indicates a set of localisation parameters. If the xsl:decimal-format element has a name attribute, it identifies a named format; if not, it identifies the default format.

Indicates a set of localisation parameters. If the `xsl:decimal-format`
element has a name attribute, it identifies a named format; if not, it
identifies the default format.
sourceraw docstring

documentclj

(document & [a & xs])

Creates a new document node.

Creates a new document node.
sourceraw docstring

elementclj

(element & [a & xs])

Used to create an output element whose name might be calculated at run-time.

Used to create an output element whose name might be calculated at run-time.
sourceraw docstring

evaluateclj

(evaluate & [a & xs])

Allows dynamic evaluation of XPath expressions constructed as a string.

Allows dynamic evaluation of XPath expressions constructed as a string.
sourceraw docstring

exposeclj

(expose & [a & xs])

Used to modify the visibility of selected components within a package.

Used to modify the visibility of selected components within a package.
sourceraw docstring

fallbackclj

(fallback & xs)

Used to define recovery action to be taken when an instruction element is used in the stylesheet and no implementation of that element is available.

Used to define recovery action to be taken when an instruction element is
used in the stylesheet and no implementation of that element is available.
sourceraw docstring

for-eachclj

(for-each & [a & xs])

Causes iteration over the nodes selected by a node-set expression.

Causes iteration over the nodes selected by a node-set expression.
sourceraw docstring

for-each-groupclj

(for-each-group & [a & xs])

Selects a sequence of nodes and/or atomic values and organizes them into subsets called groups.

Selects a sequence of nodes and/or atomic values and organizes them into
subsets called groups.
sourceraw docstring

forkclj

(fork & xs)

The result of the xsl:fork instruction is the sequence formed by concatenating the results of evaluating each of its contained instructions, in order.

The result of the xsl:fork instruction is the sequence formed by
concatenating the results of evaluating each of its contained instructions, in
order.
sourceraw docstring

functionclj

(function & [a & xs])

Defines a function within a stylesheet. The function is written in XSLT but it may be called from any XPath expression in the stylesheet. It must have a non-default namespace prefix.

Defines a function within a stylesheet. The function is written in XSLT but
it may be called from any XPath expression in the stylesheet. It must have a
non-default namespace prefix.
sourceraw docstring

global-context-itemclj

(global-context-item a)

Used to declare whether a global context item is required, and if so, to declare its required type.

Used to declare whether a global context item is required, and if so, to
declare its required type.
sourceraw docstring

ifclj

(if & [a & xs])

Used for conditional processing. It takes a mandatory test attribute, whose value is a boolean expression. The contents of the xsl:if element are expanded only of the expression is true.

Used for conditional processing. It takes a mandatory test attribute, whose
value is a boolean expression. The contents of the `xsl:if` element are
expanded only of the expression is true.
sourceraw docstring

importclj

(import a)

Used to import the contents of one stylesheet module into another.

Used to import the contents of one stylesheet module into another.
sourceraw docstring

import-schemaclj

(import-schema & [a & xs])

Used to identify a schema containing definitions of types that are referred to in the stylesheet

Used to identify a schema containing definitions of types that are referred
to in the stylesheet
sourceraw docstring

includeclj

(include a)

Used to include the contents of one stylesheet within another.

Used to include the contents of one stylesheet within another.
sourceraw docstring

iterateclj

(iterate & [a & xs])

Used to iterate over a sequence, with the option to set parameters for use in the next iteration.

Used to iterate over a sequence, with the option to set parameters for use in
the next iteration.
sourceraw docstring

keyclj

(key & [a & xs])

Used at the top level of the stylesheet to declare an attribute, or other value, that may be used as a key to identify nodes using the key() function within an expression. Each xsl:key definition declares a named key, which must match the name of the key used in the key() function.

Used at the top level of the stylesheet to declare an attribute, or other
value, that may be used as a key to identify nodes using the `key()` function
within an expression. Each `xsl:key` definition declares a named key, which
must match the name of the key used in the `key()` function.
sourceraw docstring

mapclj

(map & xs)

Used to construct a new map.

Used to construct a new map.
sourceraw docstring

map-entryclj

(map-entry & [a & xs])

Used to construct a singleton map (one key and one value).

Used to construct a singleton map (one key and one value).
sourceraw docstring

matching-substringclj

(matching-substring & xs)

Used within an analyze-string element to indicate the default action to be taken with substrings that match a regular expression.

Used within an [[analyze-string]] element to indicate the default action to
be taken with substrings that match a regular expression.
sourceraw docstring

mergeclj

(merge & xs)

The purpose of the instruction is to allow streamed merging of two or more pre-sorted input files.

The purpose of the instruction is to allow streamed merging of two or more
pre-sorted input files.
sourceraw docstring

merge-actionclj

(merge-action & xs)

The purpose of the instruction is to allow streamed merging of two or more pre-sorted input files.

The purpose of the instruction is to allow streamed merging of two or more
pre-sorted input files.
sourceraw docstring

merge-keyclj

(merge-key & [a & xs])

Used to define the merge keys on which the input sequences of a merging operation are sorted.

Used to define the merge keys on which the input sequences of a merging
operation are sorted.
sourceraw docstring

merge-sourceclj

(merge-source & [a & xs])

Describes the input source for an merge instruction.

Describes the input source for an [[merge]] instruction.
sourceraw docstring

messageclj

(message & [a & xs])

Causes a message to be displayed.

Causes a message to be displayed.
sourceraw docstring

modeclj

(mode a)

Allows properties of a mode to be defined.

Allows properties of a mode to be defined.
sourceraw docstring

namespaceclj

(namespace & [a & xs])

Creates a namespace node.

Creates a namespace node.
sourceraw docstring

namespace-aliasclj

(namespace-alias a)

A top-level element used to control the mapping between a namespace URI used in the stylesheet and the corresponding namespace URI used in the result document.

A top-level element used to control the mapping between a namespace URI used
in the stylesheet and the corresponding namespace URI used in the result
document.
sourceraw docstring

namespace-uriclj

source

next-iterationclj

(next-iteration & xs)

The xsl:next-iteration instruction occurs within iterate. The contents are a set of with-param elements defining the values of the iteration parameters to be used on the next iteration.

The `xsl:next-iteration` instruction occurs within [[iterate]]. The contents
are a set of [[with-param]] elements defining the values of the iteration
parameters to be used on the next iteration.
sourceraw docstring

next-matchclj

(next-match & [a & xs])

Chooses the next template to execute.

Chooses the next template to execute.
sourceraw docstring

non-matching-substringclj

(non-matching-substring & xs)

Used within an xsl:analyze-string element to indicate the default action to be taken with substrings that do not match a regular expression.

Used within an `xsl:analyze-string` element to indicate the default action to
be taken with substrings that do not match a regular expression.
sourceraw docstring

numberclj

(number a)

Outputs the sequential number of a node in the source document.

Outputs the sequential number of a node in the source document.
sourceraw docstring

on-completionclj

(on-completion & [a & xs])

Occurs within xsl:iterate to define processing to be carried out when the input sequence is exhausted.

Occurs within `xsl:iterate` to define processing to be carried out when the
input sequence is exhausted.
sourceraw docstring

on-emptyclj

(on-empty & [a & xs])

Used to allow conditional content construction to be made streamable. Outputs the enclosed content only if the containing sequence also generates "ordinary" content.

Used to allow conditional content construction to be made streamable. Outputs
the enclosed content only if the containing sequence also generates
"ordinary" content.
sourceraw docstring

on-non-emptyclj

(on-non-empty & [a & xs])

Used to allow conditional content construction to be made streamable. Outputs the enclosed content only if the containing sequence generates no "ordinary" content.

Used to allow conditional content construction to be made streamable. Outputs
the enclosed content only if the containing sequence generates no "ordinary"
content.
sourceraw docstring

otherwiseclj

(otherwise & xs)

Used within choose to indicate the default action to be taken if none of the other choices matches.

Used within [[choose]] to indicate the default action to be taken if none of
the other choices matches.
sourceraw docstring

outputclj

(output a)

Used to control the format of serial output files resulting from the transformation.

Used to control the format of serial output files resulting from the
transformation.
sourceraw docstring

output-characterclj

(output-character a)

Used to define the output representation of a given Unicode character, in a character-map.

Used to define the output representation of a given Unicode character, in a
[[character-map]].
sourceraw docstring

overrideclj

(override & xs)

Allows a using package to override a component from a used package.

Allows a using package to override a component from a used package.
sourceraw docstring

packageclj

(package & [a & xs])

Defines a set of stylesheet modules that can be separately compiled.

Defines a set of stylesheet modules that can be separately compiled.
sourceraw docstring

paramclj

(param & [a & xs])

Used to define a formal parameter to a template, the stylesheet, a function, or an iteration.

Used to define a formal parameter to a template, the stylesheet, a function,
or an iteration.
sourceraw docstring

perform-sortclj

(perform-sort & [a & xs])

Takes a sequence as its input and produces a sorted sequence as its output.

Takes a sequence as its input and produces a sorted sequence as its output.
sourceraw docstring

preserve-spaceclj

(preserve-space a)

Used at the top level of the stylesheet to define elements in the source document for which whitespace nodes are significant and should be retained.

Used at the top level of the stylesheet to define elements in the source
document for which whitespace nodes are significant and should be retained.
sourceraw docstring

processing-instructionclj

(processing-instruction & [a & xs])

Causes an XML processing instruction to be output.

Causes an XML processing instruction to be output.
sourceraw docstring

result-documentclj

(result-document & [a & xs])

Used to direct output to a secondary output destination.

Used to direct output to a secondary output destination.
sourceraw docstring

sequenceclj

(sequence & [a & xs])

Used to construct arbitrary sequences. It may select any sequence of nodes and/or atomic values, and essentially adds these to the result sequence.

Used to construct arbitrary sequences. It may select any sequence of nodes
and/or atomic values, and essentially adds these to the result sequence.
sourceraw docstring

sortclj

(sort & [a & xs])

Used within for-each, apply-templates, for-each-group, or perform-sort to indicate the order in which the selected elements are processed.

Used within [[for-each]], [[apply-templates]], [[for-each-group]], or
[[perform-sort]] to indicate the order in which the selected elements are
processed.
sourceraw docstring

source-documentclj

(source-document & [a & xs])

Used to initiate streamed processing of a source document.

Used to initiate streamed processing of a source document.
sourceraw docstring

strip-spaceclj

(strip-space a)

Used at the top level of the stylesheet to define elements in the source document for which whitespace nodes are insignificant and should be removed from the tree before processing.

Used at the top level of the stylesheet to define elements in the source
document for which whitespace nodes are insignificant and should be removed
from the tree before processing.
sourceraw docstring

stylesheetclj

(stylesheet & [a & xs])

The xsl:stylesheet element is always the top-level element of an XSLT stylesheet. The name xsl:transform may be used as a synonym.

The `xsl:stylesheet` element is always the top-level element of an XSLT
stylesheet. The name `xsl:transform` may be used as a synonym.
sourceraw docstring

templateclj

(template & [a & xs])

Defines a processing rule for source elements or other nodes of a particular type.

Defines a processing rule for source elements or other nodes of a particular
type.
sourceraw docstring

textclj

(text & [a & xs])

Causes its content to be output. The main reason for enclosing text within an xsl:text element is to allow whitespace to be output. Whitespace nodes in the stylesheet are ignored unless they appear immediately within an xsl:text element.

Causes its content to be output. The main reason for enclosing text within an
`xsl:text` element is to allow whitespace to be output. Whitespace nodes in
the stylesheet are ignored unless they appear immediately within an `xsl:text`
element.
sourceraw docstring

tryclj

(try & [a & xs])

In conjunction with catch, the xsl:try instruction allows recovery from dynamic errors occurring within the expression it wraps.

In conjunction with [[catch]], the `xsl:try` instruction allows recovery from
dynamic errors occurring within the expression it wraps.
sourceraw docstring

use-packageclj

(use-package & [a & xs])

Used to allow components of one package to be referenced within another.

Used to allow components of one package to be referenced within another.
sourceraw docstring

value-ofclj

(value-of & [a & xs])

Evaluates an expression as a string, and outputs its value to the current result tree.

Evaluates an expression as a string, and outputs its value to the current
result tree.
sourceraw docstring

variableclj

(variable & [a & xs])

Evaluates an expression as a string, and outputs its value to the current result tree.

Evaluates an expression as a string, and outputs its value to the current
result tree.
sourceraw docstring

whenclj

(when & [a & xs])

Used within choose to indicate one of a number of choices.

Used within [[choose]] to indicate one of a number of choices.
sourceraw docstring

where-populatedclj

(where-populated & [a & xs])

Used to allow conditional content construction to be made streamable. Used to avoid outputting an element if it would have no children.

Used to allow conditional content construction to be made streamable. Used to
avoid outputting an element if it would have no children.
sourceraw docstring

with-paramclj

(with-param & [a & xs])

Used to define an actual parameter to a template: within call-template, apply-templates, apply-imports, next-match. Also used to define parameters to an iteration (using next-iteration) or to a dynamic invocation of an XPath expression (using evaluate).

Used to define an actual parameter to a template: within [[call-template]],
[[apply-templates]], [[apply-imports]], [[next-match]]. Also used to define
parameters to an iteration (using [[next-iteration]]) or to a dynamic
invocation of an XPath expression (using [[evaluate]]).
sourceraw docstring

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

× close