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.
raw 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.
raw docstring

accumulator-ruleclj

(accumulator-rule & [a & xs])

Defines a rule for an accumulator.

Defines a rule for an [[accumulator]].
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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]]).
raw 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.
raw docstring

call-templateclj

(call-template & [a & xs])

Invokes a named template.

Invokes a named template.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw docstring

documentclj

(document & [a & xs])

Creates a new document node.

Creates a new document node.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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
raw docstring

includeclj

(include a)

Used to include the contents of one stylesheet within another.

Used to include the contents of one stylesheet within another.
raw 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.
raw 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.
raw docstring

mapclj

(map & xs)

Used to construct a new map.

Used to construct a new map.
raw 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).
raw 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.
raw 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.
raw 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.
raw 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.
raw docstring

merge-sourceclj

(merge-source & [a & xs])

Describes the input source for an merge instruction.

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

messageclj

(message & [a & xs])

Causes a message to be displayed.

Causes a message to be displayed.
raw docstring

modeclj

(mode a)

Allows properties of a mode to be defined.

Allows properties of a mode to be defined.
raw docstring

namespaceclj

(namespace & [a & xs])

Creates a namespace node.

Creates a namespace node.
raw 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.
raw docstring

namespace-uriclj


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.
raw docstring

next-matchclj

(next-match & [a & xs])

Chooses the next template to execute.

Chooses the next template to execute.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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]].
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw docstring

processing-instructionclj

(processing-instruction & [a & xs])

Causes an XML processing instruction to be output.

Causes an XML processing instruction to be output.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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]]).
raw docstring

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

× close