xsl-list
[Top] [All Lists]

Re: [xsl] Unrequested stdout output

2016-12-21 08:40:01
On 21.12.2016 15:14, Mark Wilson mark(_at_)knihtisk(_dot_)org wrote:
I build one of my websites (www.cpslib.org) using a Windows batch file
that has 45 distinct steps (I have never learned XProc and am 77 years
old so maybe never will). Even though I am using <xsl:result-document>
in the style sheet, the characters
    <?xml version="1.0" encoding="UTF-8"?>
 appear at stdout.  The document itself is written to file as specified
in result-document.

I have greatly simplified the batch file, XML document, and the
stylesheet, but the stdout output still appears when I run the batch
file. I have several other stylesheets in the batch file that use
result-document. Some exhibit this behavior, some do not.

I am unsure if this is an artifact of Saxon 97, the batch file process
,or my code.  Any help?

I think the problem is that your initial template creates some output before the xsl:result-document is hit so the main, primary output goes to the console/standard out.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>