$on-unhandled-elements

$on-unhandled-elements — How to process unhandled elements.

Parameter:
{}on-unhandled-elements
Defined in:
param.xsl
Used in:
main.xsl, param.xsl
Since:
2.5.1

Synopsis

$on-unhandled-elements as xs:string := 'fail'

Description

This parameter controls how unhandled elements (for example, extension elements added in a custom schema) should be processed.

terminate

Generates an error messages and aborts the transformation.

render

Renders the tag name in the output, styled in red and yellow.

custom

Processes the template in the m:unhandled mode. These must be defined in a customization layer; there are no templates in this mode in the standard stylesheets.