MCS makes use of elements from the XSL vocabulary, but not all elements and attributes are supported. The namespace prefix is xsl and the namespace declaration is http://www.w3.org/1999/XSL/Transform. Refer to the XSL Transformations (XSLT) Version 2.0 specification for details.
MCS makes use of elements from the XSL vocabulary, but not all elements and attributes are supported. The namespace prefix is xsl and the namespace declaration is http://www.w3.org/1999/XSL/Transform. Refer to the XSL Transformations (XSLT) Version 2.0 specification for details.
xsl:analyze-string
xsl:apply-imports
xsl:apply-templates
xsl:attribute
xsl:attribute-set
xsl:call-template
xsl:character-map
xsl:choose
xsl:comment
xsl:copy
xsl:copy-of
xsl:decimal-format
xsl:declaration
xsl:document
xsl:element
xsl:fallback
xsl:for-each
xsl:for-each-group
xsl:function
xsl:if
xsl:import
xsl:import-schema
xsl:include
xsl:instruction
xsl:key
xsl:literal-result-element
xsl:matching-substring
xsl:message
xsl:namespace
xsl:namespace-alias
xsl:next-match
xsl:non-matching-substring
xsl:number
xsl:otherwise
xsl:output
xsl:output-character
xsl:param
xsl:perform-sort
xsl:preserve-space
xsl:processing-instruction
xsl:result-document
xsl:sequence
xsl:sort
xsl:strip-space
xsl:stylesheet
xsl:template
xsl:text
xsl:transform
xsl:value-of
xsl:variable
xsl:when
xsl:with-param
The xsl:message element can be used by an XSLT author to output a message from within the template. When used within XSL templates processed by the binding processor the messages are output using the com.volantis.mcs.binding.processor.messages logger.
The level of the message can be specified at the start of the message with the <LEVEL> prefix, where <LEVEL> is one of the following and maps to the correspondingly named logger level: DEBUG, INFO, WARN, ERROR, FATAL. Note that the value of FATAL will also cause the binding processor to abort just after it has finished applying the transformation. It is recommended that this method is used instead of specifying terminate="yes" on xsl:message as this allows the transform to continue processing, possibly allowing additional feedback to be provided to the author.
The following restrictions apply:
Although XSLT treats xsl:stylesheet as a synonym for the xsl:transform element, the latter must be used as the root element of the transformation within a binding.
The version attribute on the xsl:transform element must be set to '2.0'.
A binding has only one transform and consists of one input document and one output document, and therefore any functionality that requires access to other transforms, resources or creates additional outputs is not supported, that includes:
xsl:import-schema
xsl:import
xsl:include
xsl:result-document
the document() function
MCS uses Saxon to process bindings. Saxon provides its own extensions but their behavior is not guaranteed and therefore they are used at the authors' own risk. Future versions of MCS may use a different version of Saxon which changes or removes the extensions and if such situation does occur, then it is the authors' responsibility to update their transformations.
The version of Saxon that is used by MCS does not support the EXSLT extensions.
Please see the topic entitled Creating a reusable component for a concrete example.