Associate a Validation Scenario

Validation of XSLT stylesheets documents can be also performed through a validation scenario. To define a validation scenario, open the Configure Validation Scenario dialog. You do this with the Configure Validation Scenario action available on the menu Document > Validate and on the Validate toolbar. .

You can validate an XSLT document using the engine from transformation scenario or a custom validation scenario. If you choose to validate using the engine from transformation scenario, and a transformation scenario is not associated with the current document or the engine has no validation support, the default engine set in Options > Preferences > XML > XSLT/FO/XQuery > XSLT is used. The list of reusable scenarios for documents of the same type as the current document is displayed in case you choose to use a custom validation scenario. For more details see Validation Scenario.