[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] using xsl:message with UTF-8 characters
Subject: RE: [xsl] using xsl:message with UTF-8 characters From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Mon, 23 Apr 2007 00:28:07 +0100 |
> To begin with, am I correct to assume it would be necessary > (if not sufficient) to change this default and the way to do > it is to specify the "-m classname" > parameter on the command line? You need to write a Java class that extends net.sf.saxon.event.MessageEmitter; in the constructor for your class call (say) setOutputStream(new FileOutputStream("log.txt")) Then nominate this class in the -m command line option, and the message output will be written to log.txt. You can also of course redirect System.err to a file by the simpler approach of using 2>log.txt on the command line, but I don't know if that will solve the encoding problems. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] using xsl:message with UT, Manfred Staudinger | Thread | Re: [xsl] using xsl:message with UT, Abel Braaksma |
Re: [xsl] XSLT Text Processing: Fun, Jacek Radajewski | Date | Re: [xsl] XSLT Text Processing: Fun, Rashmi Rubdi |
Month |