Re: [xsl] no output files

Subject: Re: [xsl] no output files
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 17 Nov 2008 08:50:54 -0500
At 2008-11-17 14:44 +0100, Szabo, Patrick (LNG-VIE) wrote:
I4m using XSLT 2.0 and Saxon 9.
Is it possible to do a transformation without creating outputfiles ?!

You only get an output if you construct nodes for the output. If you do not construct any nodes for the output, then you won't get anything showing.

I use this principle in an XSLT shell for
Schematron that reports errors to the error port
but nothing to standard output.

I also use <xsl:output method="text"/> but that is redundant.

Remember Saxon's only mandatory arguments are
input file and stylesheet ... the output file is
an optional invocation argument.

I hope this helps.

. . . . . . . . . . . . . Ken

Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes:
:  Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video sample lesson:
Video course overview:
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.
Male Cancer Awareness Nov'07
Legal business disclaimers:

Current Thread