xsl-list
[Top] [All Lists]

Re: [xsl] no output files

2008-11-17 08:51:17
At 2008-11-17 14:44 +0100, Szabo, Patrick (LNG-VIE) wrote:
I´m 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(_at_)CraneSoftwrights(_dot_)com
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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