Subject: Re: [xsl] no output files From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 17 Nov 2008 08:50:54 -0500 |
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.
Remember Saxon's only mandatory arguments are input file and stylesheet ... the output file is an optional invocation argument.
-- 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] no output files, Szabo, Patrick (LNG- | Thread | Re: [xsl] no output files, Colin Adams |
Re: [xsl] fault tolerant saxon:pars, Andrew Welch | Date | Re: [xsl] no output files, Colin Adams |
Month |