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

Re: Unrequested stdout output

Subject: Re: Unrequested stdout output
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Dec 2016 14:39:57 -0000
Re:  Unrequested stdout output
On 21.12.2016 15:14, Mark Wilson mark@xxxxxxxxxxxx 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.


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.