Hello everyone,
Is it possible to change the XSLT processor in the GUI, either from a menu option or as an argument to xslt:transform() or in some other nifty way that I haven't been able to figure out on my own? xslt:version() returns 1.0, but I need it to use 2.0, i.e. I want to invoke Saxon.
I've looked through the documentation, but all I can find is instructions on how to do this in standalone mode by adding the jar file to the classpath.
Many thanks, and apologies if I've overlooked the obvious!
Regine
Regine Heberlein Principal Cataloger and Metadata Analyst, Rare Book Collections Princeton University Library One Washington Road Princeton, NJ 08540 609-258-6156
Hi Regine,
I've copied saxon9he.jar into the lib directory of my basex installation, which gives me xslt:version() 2 in the GUI.
Maybe that's an option? Not sure if that's the official way: when I upgrade I need to make sure to copy it again.
~~Rolf.
On 02/02/17 21:44, Regine I. Heberlein wrote:
Hello everyone,
Is it possible to change the XSLT processor in the GUI, either from a menu option or as an argument to xslt:transform() or in some other nifty way that I haven’t been able to figure out on my own? xslt:version() returns 1.0, but I need it to use 2.0, i.e. I want to invoke Saxon.
I’ve looked through the documentation, but all I can find is instructions on how to do this in standalone mode by adding the jar file to the classpath.
Many thanks, and apologies if I’ve overlooked the obvious!
Regine
Regine Heberlein
Principal Cataloger and Metadata Analyst, Rare Book Collections
Princeton University Library
One Washington Road
Princeton, NJ 08540
609-258-6156
Thanks Rolf! I've tried the same with saxon9ee.jar, with no luck. I re-started the GUI, same. Maybe EE is not supported?
Regine Heberlein Principal Cataloger and Metadata Analyst, Rare Book Collections Princeton University Library One Washington Road Princeton, NJ 08540 609-258-6156
From: Rolf Kleef [mailto:rolf@drostan.org] Sent: Thursday, February 02, 2017 4:42 PM To: Regine I. Heberlein; basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Change XSLT processor in GUI?
Hi Regine,
I've copied saxon9he.jar into the lib directory of my basex installation, which gives me xslt:version() 2 in the GUI.
Maybe that's an option? Not sure if that's the official way: when I upgrade I need to make sure to copy it again.
~~Rolf.
On 02/02/17 21:44, Regine I. Heberlein wrote: Hello everyone,
Is it possible to change the XSLT processor in the GUI, either from a menu option or as an argument to xslt:transform() or in some other nifty way that I haven't been able to figure out on my own? xslt:version() returns 1.0, but I need it to use 2.0, i.e. I want to invoke Saxon.
I've looked through the documentation, but all I can find is instructions on how to do this in standalone mode by adding the jar file to the classpath.
Many thanks, and apologies if I've overlooked the obvious!
Regine
Regine Heberlein Principal Cataloger and Metadata Analyst, Rare Book Collections Princeton University Library One Washington Road Princeton, NJ 08540 609-258-6156
Hi Regine,
The method Rolf describes works for me, but if you are on Windows you need to use basexgui.bat rather than basex.exe to start the GUI.
Regards /Andy
On 2 February 2017 at 21:46, Regine I. Heberlein heberlei@princeton.edu wrote:
Thanks Rolf! I’ve tried the same with saxon9ee.jar, with no luck. I re-started the GUI, same. Maybe EE is not supported?
Regine Heberlein
Principal Cataloger and Metadata Analyst, Rare Book Collections
Princeton University Library
One Washington Road
Princeton, NJ 08540
609-258-6156 <(609)%20258-6156>
*From:* Rolf Kleef [mailto:rolf@drostan.org] *Sent:* Thursday, February 02, 2017 4:42 PM *To:* Regine I. Heberlein; basex-talk@mailman.uni-konstanz.de *Subject:* Re: [basex-talk] Change XSLT processor in GUI?
Hi Regine,
I've copied saxon9he.jar into the lib directory of my basex installation, which gives me xslt:version() 2 in the GUI.
Maybe that's an option? Not sure if that's the official way: when I upgrade I need to make sure to copy it again.
~~Rolf.
On 02/02/17 21:44, Regine I. Heberlein wrote:
Hello everyone,
Is it possible to change the XSLT processor in the GUI, either from a menu option or as an argument to xslt:transform() or in some other nifty way that I haven’t been able to figure out on my own? xslt:version() returns 1.0, but I need it to use 2.0, i.e. I want to invoke Saxon.
I’ve looked through the documentation, but all I can find is instructions on how to do this in standalone mode by adding the jar file to the classpath.
Many thanks, and apologies if I’ve overlooked the obvious!
Regine
Regine Heberlein
Principal Cataloger and Metadata Analyst, Rare Book Collections
Princeton University Library
One Washington Road
Princeton, NJ 08540
609-258-6156 <(609)%20258-6156>
I do not know if this can help you, but if you change the xslt processor, you then need to run ./basexgui from the bin directory (not the basex.jar file)
Il giorno 02 feb 2017, alle ore 22:41, Rolf Kleef rolf@drostan.org ha scritto:
Hi Regine,
I've copied saxon9he.jar into the lib directory of my basex installation, which gives me xslt:version() 2 in the GUI.
Maybe that's an option? Not sure if that's the official way: when I upgrade I need to make sure to copy it again. ~~Rolf.
On 02/02/17 21:44, Regine I. Heberlein wrote: Hello everyone,
Is it possible to change the XSLT processor in the GUI, either from a menu option or as an argument to xslt:transform() or in some other nifty way that I haven’t been able to figure out on my own? xslt:version() returns 1.0, but I need it to use 2.0, i.e. I want to invoke Saxon.
I’ve looked through the documentation, but all I can find is instructions on how to do this in standalone mode by adding the jar file to the classpath.
Many thanks, and apologies if I’ve overlooked the obvious!
Regine
Regine Heberlein Principal Cataloger and Metadata Analyst, Rare Book Collections Princeton University Library One Washington Road Princeton, NJ 08540 609-258-6156
That did it--thanks very much to you and Andy for that tip!! Regine ________________________________________ From: meumapple [meumapple@gmail.com] Sent: Thursday, February 02, 2017 17:19 To: Rolf Kleef Cc: Regine I. Heberlein; basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Change XSLT processor in GUI?
I do not know if this can help you, but if you change the xslt processor, you then need to run ./basexgui from the bin directory (not the basex.jar file)
Il giorno 02 feb 2017, alle ore 22:41, Rolf Kleef <rolf@drostan.orgmailto:rolf@drostan.org> ha scritto:
Hi Regine,
I've copied saxon9he.jar into the lib directory of my basex installation, which gives me xslt:version() 2 in the GUI.
Maybe that's an option? Not sure if that's the official way: when I upgrade I need to make sure to copy it again.
~~Rolf.
On 02/02/17 21:44, Regine I. Heberlein wrote: Hello everyone,
Is it possible to change the XSLT processor in the GUI, either from a menu option or as an argument to xslt:transform() or in some other nifty way that I haven’t been able to figure out on my own? xslt:version() returns 1.0, but I need it to use 2.0, i.e. I want to invoke Saxon.
I’ve looked through the documentation, but all I can find is instructions on how to do this in standalone mode by adding the jar file to the classpath.
Many thanks, and apologies if I’ve overlooked the obvious!
Regine
Regine Heberlein Principal Cataloger and Metadata Analyst, Rare Book Collections Princeton University Library One Washington Road Princeton, NJ 08540 609-258-6156
basex-talk@mailman.uni-konstanz.de