[xep-support] Re: ERRORLEVEL for XSLDriver
Somanna Ramaiah
somannar at yahoo.com
Sun Nov 21 19:13:24 PST 2010
Hello,
Please change the file ext.. color.fo2 to color.fo.
--- On Sat, 20/11/10, Alexander Dyuzhev <dyuzhev at gmail.com> wrote:
From: Alexander Dyuzhev <dyuzhev at gmail.com>
Subject: [xep-support] ERRORLEVEL for XSLDriver
To: xep-support at 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20101122/2026d0d2/attachment.html>
More information about the Xep-support
mailing list