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

RE: no output files

Subject: RE: no output files
From: Tony Nassar <tnassar@xxxxxxxxxxxxxxxx>
Date: Tue, 18 Nov 2008 18:02:59 -0800
RE:  no output files
Is it possible to direct the output to /dev/null or, on Windows, NUL? The
latter works for me (cf. http://en.wikipedia.org/wiki/Data_sink).

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Monday, November 17, 2008 8:57 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  no output files

There will always be at least one result tree, but its contents may be
empty. see 2.4:

<quote>
An implicit result tree is also created when the result sequence is empty,
provided that no xsl:result-document  instruction has been evaluated during
the course of the transformation. In this situation the implicit result tree
will consist of a document node with no children.
</quote>

But you don't have to serialize the result tree to a file. Try <xsl:output
method="saxon:net.sf.saxon.event.Sink"/>

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.