Validating XSLT Stylesheets that Call Java Extensions
It is possible to validate an XSLT that calls Java extensions. This is achieved through a transformation scenario where the Java extensions are specified, and the default validation will be processed using the parameters defined in the transformation scenario.
To validate XSLT with Java extensions, follow this procedure:
- Create an XSLT transformation on XML scenario for your XSLT document (select Configure Transformation Scenario(s) action from the toolbar, then click New, and select XSLT transformation on XML).
- In the New scenario dialog box, click the Extensions button (in the XSLT tab), specify the Java extensions (JAR libraries) that are needed, and click OK.
- Once you are finished configuring the transformation scenario, click OK, then select Save and close.
- Use the Validate button on the toolbar and the default validation will detect and use the transformation scenario profile you just configured and saved.