<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>Please change the file ext.. color.fo2 to color.fo.<BR><BR>--- On <B>Sat, 20/11/10, Alexander Dyuzhev <I><dyuzhev@gmail.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Alexander Dyuzhev <dyuzhev@gmail.com><BR>Subject: [xep-support] ERRORLEVEL for XSLDriver<BR>To: xep-support@renderx.com<BR>Date: Saturday, 20 November, 2010, 9:31 PM<BR><BR>
<DIV id=yiv1925037685>
<DIV>Do XSLDriver.exe from XEPWin supports ERRORLEVEL exit codes ?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>First sample returns exit code 0. It's OK.</DIV>
<DIV>============================</DIV>
<DIV>@echo off<BR>XslDriver.exe -quiet -xml xep\examples\basic\<A href="http://color.fo/" rel=nofollow target=_blank>color.fo</A> -pdf test.pdf<BR>echo %ERRORLEVEL%<BR>============================</DIV>
<DIV> </DIV>
<DIV>Result:</DIV>
<DIV>Formatting completed successfully.<BR>0</DIV>
<DIV> </DIV>
<DIV>But second sample return exit code 0 also. Please note, that xml file xep\examples\basic\color.fo2 does not exists:</DIV>
<DIV>============================</DIV>
<DIV>@echo off<BR>XslDriver.exe -quiet -xml xep\examples\basic\color.fo2 -pdf test.pdf<BR>echo %ERRORLEVEL%</DIV>
<DIV>============================</DIV>
<DIV> </DIV>
<DIV>Error occurred while formatting</DIV>
<DIV>Error:<BR> Could not find file 'C:\Program Files\RenderX\XEPWin\xep\examples\basic\color.fo2'.<BR>0<BR></DIV>
<DIV>What do I do wrong ?</DIV>
<DIV> </DIV>
<DIV>I call XSLDriver from .NET code with use Process.Start() method. How can I determine exit codes for XSLDriver ?</DIV>
<DIV><BR clear=all><BR>Best regards,</DIV>
<DIV>Alexander Dyuzhev<BR><BR></DIV> </DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>(*) To unsubscribe, please visit <A href="http://lists.renderx.com/mailman/options/xep-support" target=_blank>http://lists.renderx.com/mailman/options/xep-support</A><BR>(*) By using the Service, you expressly agree to these Terms of Service http://w<BR>ww.renderx.com/terms-of-service.html</DIV></BLOCKQUOTE></td></tr></table><br>
!DSPAM:87,4ce9dfda63731953889851!