XEP and Docbook on Windows 7 Basic
XEP and Docbook on Windows 7 Basic
HP Omni100, Windows 7 Basic
I have Oxygen 13 loaded, works OK with fop
I have Java 1.6 release 26
I have downloaded trial XEPwin and got the license key
setup seems to run OK
BUT: when I try to get Oxygen Preferences to include XEP, I cannot find the XEP application to load. XEPWin shows up in Control Panel\Programs\Programs and Features\XEPWin but I can`t find it with the Browse facility.
I`m sure this is my un-familiarity with this peculiar operating system, new to me after various UNIX and Mac.
Please can any one help me to get Oxygen/Docbook working with XEP
Thanks
Ron
I have Oxygen 13 loaded, works OK with fop
I have Java 1.6 release 26
I have downloaded trial XEPwin and got the license key
setup seems to run OK
BUT: when I try to get Oxygen Preferences to include XEP, I cannot find the XEP application to load. XEPWin shows up in Control Panel\Programs\Programs and Features\XEPWin but I can`t find it with the Browse facility.
I`m sure this is my un-familiarity with this peculiar operating system, new to me after various UNIX and Mac.
Please can any one help me to get Oxygen/Docbook working with XEP
Thanks
Ron
Re: XEP and Docbook on Windows 7 Basic
Hello,
You should be able to find XEPwin in:
C:\Program Files\RenderX\XEPWin\
or
C:\Program Files (x86)\RenderX\XEPWin\ if you have a 64-bit Windows.
But note that the out-of-the-box support that Oxygen offers is for XEP(not XEPwin). You need the xep.bat from the regular XEP package for this to work correctly when configured in Preferences, XML > XSLT-FO-XQuery > FO Processors.
Regards,
Adrian
You should be able to find XEPwin in:
C:\Program Files\RenderX\XEPWin\
or
C:\Program Files (x86)\RenderX\XEPWin\ if you have a 64-bit Windows.
But note that the out-of-the-box support that Oxygen offers is for XEP(not XEPwin). You need the xep.bat from the regular XEP package for this to work correctly when configured in Preferences, XML > XSLT-FO-XQuery > FO Processors.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Re: XEP and Docbook on Windows 7 Basic
Hi,
We also discussed this with Kevin Brown from RenderX, please see his message below:
Radu
We also discussed this with Kevin Brown from RenderX, please see his message below:
Regards,XEPWin comes with an .exe for command line which is named "XSLDriver.exe"
and exists in the installation folder. This is normally:
C:\Program Files (x86)\RenderX\XEPWin
You can easily use this with oXygen and not the .bat file.
The command line parameters are:
Usage:
XslDriver
[-version][-quiet]
[-xml] <infile> [-xsl <stylesheet> {-param <name=value>}]
[-pdf | -ps | -svg | -xep <outfile>]
If oXygen would like to add that in the future as an auto selection, great.
Otherwise the user can be instructed to add this manually.
If they would prefer to use XEP (Java), it is installed in a child directory
to XEPWin. This would be:
C:\Program Files (x86)\RenderX\XEPWin\xep
You are correct that xep.bat does not exist in this folder. One could create
a .bat file in that folder for your auto-selection process. The content of
that .bat file (assuming the installation directory is as stated above and
the Java directory is the default one) would be:
************************************************
@echo off
set CP=C:\Program Files (x86)\RenderX\XEP\xep\lib\xep.jar;C:\Program Files
(x86)\RenderX\XEP\xep\lib\saxon.jar;C:\Program Files
(x86)\RenderX\XEP\xep\lib\xt.jar
if x%OS%==xWindows_NT goto WINNT
"C:\Program Files (x86)\Java\jre6\bin\java" -classpath "%CP%"
com.renderx.xep.XSLDriver "-DCONFIG=C:\Program Files
(x86)\RenderX\XEP\xep\xep.xml" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto END
:WINNT
"C:\Program Files (x86)\Java\jre6\bin\java" -classpath "%CP%"
com.renderx.xep.XSLDriver "-DCONFIG=C:\Program Files
(x86)\RenderX\XEP\xep\xep.xml" %*
:END
set CP=
***********************************************
Of course, they could point to other Java (like a 64-bit one) and/or add
other parameters like -Xmx in this.
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: XEP and Docbook on Windows 7 Basic
I set up the xep.bat file as suggested in suggested in C:\Program Files (x86)\RenderX\XEPWin\xep and browsed to find this xep.bat to add the XEP process as an FO processor to oxygen, and then did apply.
C:\Program Files (x86)\RenderX\XEPWin\xep\xep.bat
@echo off
set CP=C:\Program Files (x86)\RenderX\XEP\xep\lib\xep.jar;C:\Program Files
(x86)\RenderX\XEP\xep\lib\saxon.jar;C:\Program Files
(x86)\RenderX\XEP\xep\lib\xt.jar
if x%OS%==xWindows_NT goto WINNT
"C:\Program Files (x86)\Java\jre6\bin\java" -classpath "%CP%"
com.renderx.xep.XSLDriver "-DCONFIG=C:\Program Files
(x86)\RenderX\XEP\xep\xep.xml" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto END
:WINNT
"C:\Program Files (x86)\Java\jre6\bin\java" -classpath "%CP%"
com.renderx.xep.XSLDriver "-DCONFIG=C:\Program Files
(x86)\RenderX\XEP\xep\xep.xml" %*
:END
When I tried a transform with XEP (it works OK with fop) I got:
E[XEP] The process 'XEP' ended with code: 255. The error was: \RenderX\XEP\xep\lib\saxon.jar was unexpected at this time.
What next? Perhaps Oxygenxml and RenderX could get together and set up some way for an oxygen user to combine XEP with 64 bit Windows 7 Home Basic. ( I have JRE 1.6 release 26 up and running.)
C:\Program Files (x86)\RenderX\XEPWin\xep\xep.bat
@echo off
set CP=C:\Program Files (x86)\RenderX\XEP\xep\lib\xep.jar;C:\Program Files
(x86)\RenderX\XEP\xep\lib\saxon.jar;C:\Program Files
(x86)\RenderX\XEP\xep\lib\xt.jar
if x%OS%==xWindows_NT goto WINNT
"C:\Program Files (x86)\Java\jre6\bin\java" -classpath "%CP%"
com.renderx.xep.XSLDriver "-DCONFIG=C:\Program Files
(x86)\RenderX\XEP\xep\xep.xml" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto END
:WINNT
"C:\Program Files (x86)\Java\jre6\bin\java" -classpath "%CP%"
com.renderx.xep.XSLDriver "-DCONFIG=C:\Program Files
(x86)\RenderX\XEP\xep\xep.xml" %*
:END
When I tried a transform with XEP (it works OK with fop) I got:
E[XEP] The process 'XEP' ended with code: 255. The error was: \RenderX\XEP\xep\lib\saxon.jar was unexpected at this time.
What next? Perhaps Oxygenxml and RenderX could get together and set up some way for an oxygen user to combine XEP with 64 bit Windows 7 Home Basic. ( I have JRE 1.6 release 26 up and running.)
Re: XEP and Docbook on Windows 7 Basic
Hi,
Make sure the lines are not broken in the .bat file for the lines with "set CP" and the java commands(which end with the % params).
Regards,
Adrian
Make sure the lines are not broken in the .bat file for the lines with "set CP" and the java commands(which end with the % params).
Code: Select all
@echo off
set CP=C:\Program Files (x86)\RenderX\XEP\xep\lib\xep.jar;C:\Program Files (x86)\RenderX\XEP\xep\lib\saxon.jar;C:\Program Files (x86)\RenderX\XEP\xep\lib\xt.jar
if x%OS%==xWindows_NT goto WINNT
"C:\Program Files (x86)\Java\jre6\bin\java" -classpath "%CP%" com.renderx.xep.XSLDriver "-DCONFIG=C:\Program Files (x86)\RenderX\XEP\xep\xep.xml" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto END
:WINNT
"C:\Program Files (x86)\Java\jre6\bin\java" -classpath "%CP%" com.renderx.xep.XSLDriver "-DCONFIG=C:\Program Files (x86)\RenderX\XEP\xep\xep.xml" %*
:END
set CP=
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Re: XEP and Docbook on Windows 7 Basic
I have checked and found no line breaks and resaved the .bat file. There are no line breaks in the set CP or the java lines, only spaces to separate parameters. The error message is still the same
Re: XEP and Docbook on Windows 7 Basic
Also, there is no XSLDriver.exe in C:\Program Files (x86)\RenderX\XEPWin
SoI can`t chack that way
SoI can`t chack that way
Re: XEP and Docbook on Windows 7 Basic
Hi,
The simplest content for the xep.bat would be this:
You can write us using the support email address (support@oxygenxml.com) and I'll send you a xep.bat.
The fact that you do not have the XslDriver.exe in the XEPwin installation is very strange, I installed XEPwin using the default options
Regards,
Radu
The simplest content for the xep.bat would be this:
Code: Select all
@echo off
set CP="C:\Program Files (x86)\RenderX\XEPWin\xep\lib\xep.jar;C:\Program Files (x86)\RenderX\XEPWin\xep\lib\saxon.jar;C:\Program Files (x86)\RenderX\XEPWin\xep\lib\xt.jar"
java -cp %CP% com.renderx.xep.XSLDriver -DCONFIG="C:\Program Files (x86)\RenderX\XEPWin\xep\xep.xml" %1 %2 %3 %4 %5 %6 %7 %8 %9
set CP=
The fact that you do not have the XslDriver.exe in the XEPwin installation is very strange, I installed XEPwin using the default options
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: XEP and Docbook on Windows 7 Basic
Radu
I copied your bat file and that seems to work OK. Many thanks.
Ron
I copied your bat file and that seems to work OK. Many thanks.
Ron
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service