XSL elements

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.

Handling messages

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.

Limitations

The following restrictions apply:

Example

Please see the topic entitled Creating a reusable component for a concrete example.

Related topics