xsl-list
[Top] [All Lists]

Re: [xsl] "Hey XSLT processor, execute the template rules with mode ABC" ... How to express that from the command line?

2019-04-04 06:34:17
Use -im:ABC

Michael Kay
Saxonica

On 4 Apr 2019, at 12:31, Costello, Roger L. costello(_at_)mitre(_dot_)org 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

Hi Folks,

I have an XSLT program containing several modes.

When I run my XSLT program, is there a way to instruct the XSLT processor, 
"Execute the template rules with mode ABC"?

Specifically my run.bat file contains this:

java -jar saxon/saxon9he.jar Document.xml -xsl:transform.xsl -o:results.xml  
xxxxx

What do I replace xxxxx with to instruct Saxon to execute the template rules 
with mode ABC?

/Roger

--~----------------------------------------------------------------
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
--~--

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