Table of Contents
XML Element apply-templates
This statement has no required fields.
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name select Field name .select
Attribute name mode Field name .mode
An example of using apply
apply .select "statement" sort .by "txtName" apply .select "requiredFields/field" .mode "required"
XML Element apply-imports
This statement has no required fields.
An example of using apply-imports
choose
when "$ischunk = 1"
call "process-chunk-element"
otherwise
apply-importsXML Element attribute
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name name
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name namespace Field name namespace
An example of using attribute
<a>
attribute "href"
call "href.target" ("object":"$target[1]")XML Element attribute-set
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name name
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name use-attribute-sets Field name .use-attribute-sets
XML Element call-template
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name name
An example of using call
call "href.target" ("object":"$target[1]")
call "gentext.template" ("context":"'msgset'", "name":"'MsgLevel'"
call "section.heading"
param "level" .select "2"
param "title"
apply .select "." .mode "object.title.markup"XML Element choose
This statement has no required fields.
An example of using choose
choose
when "count(requiredFields) > 1"
<para>
"There are some required fields"
when "count(requiredFields) = 1"
<para>
"There is one required field"
otherwise
<para>
"No required fields"XML Element copy
This statement has no required fields.
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name use-attribute-sets Field name .use-attribute-sets
XML Element copy-of
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name select
An example of using copy-of
choose
when "$localinfo != ''"
var "node" .select "$outline//*[@id=$localinfo]"
copy-of "$node/xref"
otherwise
val "$outline/xref"
XML Element decimal-format
This statement has no required fields.
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name name Field name .name
Attribute name decimal-separator Field name .decimal-sep
Attribute name grouping-separator Field name .group-sep
Attribute name infinity Field name .infinity
Attribute name minus-sign Field name .minus-sign
Attribute name NaN Field name .nan
Attribute name percent Field name .percent
Attribute name per-mille Field name .per-mille
Attribute name zero-digit Field name .zero-digit
Attribute name digit Field name .digit
Attribute name pattern-separator Field name .pattern-sep
XML Element element
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name name
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name namespace Field name namespace
Attribute name use-attribute-sets Field name .use-attribute-sets
XML Element for-each
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name select
XML Element if
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name test
XML Element import
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name href
XML Element include
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name href
XML Element key
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name name
Attribute name match
Attribute name use
XML Element message
This statement has no required fields.
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name terminate Field name
XML Element message
This statement has no required fields.
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name terminate Field name
XML Element This statement has no corresponding xml element.
This statement has no required fields.
XML Element namespace-alias
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name stylesheet-prefix
Attribute name result-prefix
XML Element number
This statement has no required fields.
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name level Field name .level
Attribute name count Field name .count
Attribute name from Field name .from
Attribute name value Field name val
Attribute name format Field name .format
Attribute name lang Field name .lang
Attribute name letter-value Field name .letter-value
Attribute name grouping-separator Field name .group-sep
Attribute name grouping-size Field name .group-size
XML Element otherwise
This statement has no required fields.
An example of using otherwise
choose
when "count(requiredFields) > 1"
<para>
"There are some required fields"
when "count(requiredFields) = 1"
<para>
"There is one required field"
otherwise
<para>
"No required fields"XML Element output
This statement has no required fields.
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name method Field name .method
Attribute name version Field name .version
Attribute name encoding Field name .encoding
Attribute name omit-xml-declaration Field name .omit-xml-declaration
Attribute name standalone Field name .standalone
Attribute name doctype-public Field name .doctype-public
Attribute name doctype-system Field name .doctype-system
Attribute name cdata-section-elements Field name .cdata-section-elements
Attribute name indent Field name .indent
Attribute name media-type Field name .media-type
XML Element with-param
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name name
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name select Field name .select
An example of using param
call "columnTemplate" ("title"%"One", "value":"@cost")
call "columnTemplate"
param "title"
"One"
param "value" .select "@cost"XML Element preserve-space
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name elements
XML Element processing-instruction
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name name
XML Element sort
This statement has no required fields.
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name select Field name .by
Attribute name lang Field name .lang
Attribute name data-type Field name .data-type
Attribute name order Field name .order
Attribute name case-order Field name .case-order
XML Element strip-space
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name elements
XML Element stylesheet
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name version
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name id Field name .id
Attribute name extension-element-prefixes Field name .extension-element-prefixes
Attribute name exclude-result-prefixes Field name .exclude-result-prefixes
XML Element template
This statement has no required fields.
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name name Field name .name
Attribute name match Field name .match
Attribute name mode Field name .mode
Attribute name priority Field name .priority
XML Element text
This statement has no required fields.
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name disable-output-escaping Field name
XML Element text
This statement has no required fields.
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name disable-output-escaping Field name
XML Element value-of
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name select
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name disable-output-escaping Field name
XML Element value-of
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name select
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name disable-output-escaping Field name
XML Element variable
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name name
This statement has the following optional fields. These can be provided in any order. Each shows the xml attribute name and the txt field name to use
Attribute name select Field name .select
XML Element when
This statement has some required fields. Their values must be provided in the order shown below. Each field corresponds to an xml attribute the name of which is shown.
Attribute name test
An example of using when
choose
when "count(requiredFields) > 1"
<para>
"There are some required fields"
when "count(requiredFields) = 1"
<para>
"There is one required field"
otherwise
<para>
"No required fields"