Validating XSLT Stylesheets that Call Java Extensions
It is possible to validate XSLT that call Java extensions. This is achieved through a transformation scenario in which 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
scenario for your XSLT document (select
Configure Transformation Scenario(s)
action from the toolbar, then click New, and select XSLT
transformation). - 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 (or Ctrl + Shift
+ V (Command + Shift + V on OS X)) and the default
validation will detect and use the transformation scenario profile you just configured and
saved.