[xep-support] Re: ERRORLEVEL for XSLDriver

From: Somanna Ramaiah <somannar@yahoo.com>
Date: Sun Nov 21 2010 - 19:13:24 PST

Hello,
 
Please change the file ext.. color.fo2 to color.fo.

--- On Sat, 20/11/10, Alexander Dyuzhev <dyuzhev@gmail.com> wrote:

From: Alexander Dyuzhev <dyuzhev@gmail.com>
Subject: [xep-support] ERRORLEVEL for XSLDriver
To: xep-support@renderx.com
Date: Saturday, 20 November, 2010, 9:31 PM

Do XSLDriver.exe from XEPWin supports ERRORLEVEL exit codes ?
 
 
First sample returns exit code 0. It's OK.
============================
@echo off
XslDriver.exe -quiet -xml xep\examples\basic\color.fo -pdf test.pdf
echo %ERRORLEVEL%
============================
 
Result:
Formatting completed successfully.
0
 
But second sample return exit code 0 also. Please note, that xml file xep\examples\basic\color.fo2 does not exists:
============================
@echo off
XslDriver.exe -quiet -xml xep\examples\basic\color.fo2 -pdf test.pdf
echo %ERRORLEVEL%
============================
 
Error occurred while formatting
Error:
   Could not find file 'C:\Program Files\RenderX\XEPWin\xep\examples\basic\color.fo2'.
0

What do I do wrong ?
 
I call XSLDriver from .NET code with use Process.Start() method. How can I determine exit codes for XSLDriver ?

Best regards,
Alexander Dyuzhev

 
-----Inline Attachment Follows-----

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html

!DSPAM:87,4ce9dfda63731953889851!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Sun Nov 21 19:13:36 2010

This archive was generated by hypermail 2.1.8 : Sun Nov 21 2010 - 19:13:38 PST