xsl-list
[Top] [All Lists]

Re: [xsl] saxon9 passing values

2009-08-10 08:52:34
minimag schrieb:

I tried to change the <xsl:value-of select="1"/> to <xsl:value-of
select="0"/> using an xslt processor. Is this possible using saxon or
should I use an other approach?

It is possible using Saxon (or any other processor), *but* you should
use another approach. Have an xsl:param at the top-level (as Martin
suggested, not as you wrote it), and then, instead of hardcoding the
value, write:

  <xsl:value-of select="$number.chapter"/>

If you invoke the saxon9.jar (or saxon9he.jar) without any parameters,
you'll get a command-line usage explanation, including parameters.

--
Michael Ludwig

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