Kathleene,
If you are using my implmentation of the Cookbook, you should be
calling a DOS batch file, which in turn runs instant saxon,
through the saxon.exe files, not a jar file.
The saxon.bat file should read:
cd \eadcb\EADfiles
c:\eadcb\transform\saxon.exe -o %3 %1 %2
pause
It should be in the c:\eadcb\batch folder.
This file should be called via a Notetab clip that passes the
parameters on to saxon. In the default version of the cookbook,
this clip reads:
^!Save
^!Set %base%=^$GetPath(^**)$
^!Set %fileprefix%=^$GetName(^**)$
^!Set %extension%=^$GetExt(^**)$
^!If ^%extension%=.xml 1
^!Prompt The current tabbed document is not an EAD file. Please
change the focus to an XML document.
^!Goto End
:1
^!Set %xmlpath%=^**
^!Set %htmlpath%=^%base%^%fileprefix%.html
^!Set %stylesheet%=^?{(T=L,H=12)Choose a
stylesheet:==eadcbs5|eadcbs6|_eadcbs7|eadcbs8|eadcbs9|Illinois}
^!Set %xslpath%=c:\eadcb\shared\styles\^%stylesheet%.xsl
^!Set %Parser%=^?{Choose a Transfom Engine:==msxsl|_saxon}
^!dos c:\eadcb\batch\^%Parser%.bat ^%xmlpath% ^%xslpath% ^%htmlpath%
Thanks,
Chris
--
Christopher J. Prom
Assistant University Archivist and
Associate Professor of Library Administration
University of Illinois at Urbana Champaign
19 Library
1408 W. Gregory Dr.
Urbana, IL 61801
phone: 217.333.0798
fax: 217.333.2868
e-mail: [log in to unmask]
web: http://web.library.uiuc.edu/ahx
On Thu, 23 Jun 2005, Konkle, Kathleene wrote:
> Hello all,
>
>
>
> I am processing my EAD docs thru SAXON (w/NoteTab). If anyone can assist
> me, I'd greatly appreciate it. I get a command line error that reads:
>
>
>
> "'saxon.jar' is not recognized as an internal or external command,
> operable program or batch file"
>
>
>
> My saxon.jar reads:
>
>
>
> c:\eadcb\batch\saxon.jar -o %1 %2 %3
>
> java -jar
>
> pause
>
>
>
> (Upon other tweaking, I get: "cannot locate saxon.jar")
>
>
>
> Thanks,
>
> Kathleene
>
>
|