|
next
|
Subject: Help configuring Xalan-j processor Author: (Deleted User) Date: 22 Oct 2007 06:14 AM
|
Hi John,
if you need to use a specific custom processor for several XSLT stylesheet, you can specify its parameters in the Tools | Options -> Module Settings -> XSLT Editor -> Processor Settings dialog.
In order to use Xalan-J 2.7 (you stated v. 2.2, but then referred to v. 2.7 JARs, so I am guessing you mistyped the first number; if not, you will have to change the list of JARs accordingly) you should select the "custom" processor from the combo box, check the "Use as default processor" check box and then enter:
Command Line: java org.apache.xalan.xslt.Process -IN %1 -XSL %2 -OUT %3
Path: C:\Program Files\Java\jre1.6.0_03\bin
Classpath: C:\Program Files\xalan-j_2_7_0\xalan.jar;C:\Program Files\xalan-j_2_7_0\serializer.jar;C:\Program Files\xalan-j_2_7_0\xml-apis.jar;C:\Program Files\xalan-j_2_7_0\xercesImpl.jar
Now, every time you create a new stylesheet, it will inherit these settings; if you have existing stylesheets that need to use Xalan-J, you will have to manually update them by invoking the scenario dialog (by pressing the "..." button next to the scenario name in the XSLT toolbar), selecting the Processor tab, selecting the 'custom' processor and inserting the same information as above.
Hope this helps,
Alberto
|
|
|
|