On Fri, Nov 21, 2014 at 7:12 AM, Michael Kay <mike(_at_)saxonica(_dot_)com>
wrote:
The point about static parameters is that the caller is required to supply
them at compile time.
OK, then this means that the caller should be compiled at the same
time as the package. This wasn't clear in the specification.
This means that the caller cannot be a command-line invocation of the
transformation, correct?
In Saxon as it exists today, invocation from the command line is a single-shot
compile-and-go mechanism, so everything supplied on the command line is
available at compile time.
Of course one can envisage a processor in which compiled packages can be saved
to disk, and in which there is a command-line invocation that executes a
previously-compiled package. In that scenario, the static parameters would be
supplied at compile time, not at invocation time.
Michael Kay
Saxonica
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--