Associate a Validation Scenario

You can validate XSLT stylesheets by using a validation scenario. To create a validation scenario, select the Configure Validation Scenario(s)... action from the Document > Validate menu, from the Validation toolbar drop-down list, or from the Validate submenu when invoking the contextual menu in the Project view .

You can validate an XSLT document using the engine defined in the 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 is used. To set the default engine, open the Preferences dialog box and go to XML > XSLT/FO/XQuery > XSLT. The list of reusable scenarios for the appropriate document type is displayed. For more details go to Validation Scenario.