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:    http://www.youtube.com/watch?v=PrNjJCh7Ppg
Video course overview:  http://www.youtube.com/watch?v=VTiodiij6gE
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread