[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: writing error file

Subject: RE: writing error file
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 21 Sep 2006 16:52:36 +0100
error file
The mechanisms for redirecting the standard error stream vary a little from
one command line processor to another, but in most environments
"2>error.log" should work. If not, it's really an operating system question
rather than a Saxon or XSLT problem, but I guess we can help if you tell us
exactly what OS environment you are in and what command shell you are using.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: Frank Marent [mailto:frank.marent@xxxxxxxxxxx] 
> Sent: 21 September 2006 14:20
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  writing error file
> 
> hi
> 
> still confused and not able to get xsl:message in a file. i'm 
> using saxon 8.7.3J, calling from a .bat file.
> 
> 
> david:
> > saxon file.xml style.xsl 2> error.log
> 
> no. 2> or 2>> (to append messages) sends errors and 
> recoverable errors from saxon to the file but *not* 
> xsl:message messages.
> 
> 
> george:
> > You can get (in general) the output of the xsl:message but you need 
> > processor specific code for that. Also this requires 
> configuring the 
> > processor in a specific way, thus you need to have control over the 
> > transformation execution.
> 
> what processor specific code would i need for that configuring?
> 
> 
> michael:
> > There may well be product configuration options that allow you to 
> > control where xsl:message output is sent and how it is formatted.
> 
> i checked the saxon options but could not find an 
> appriopriate option. is the -m option usable on the 
> (non-java) command line or .bat level for that?
> 
> 
> thanks in advance
> for your help that is very appreciated
> 
> frank

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.