[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: saxon9 passing values
Subject: Re: saxon9 passing values
From: Andreas Peter <info@xxxxxxxxxx>
Date: Tue, 11 Aug 2009 21:47:43 +0200
|
Hi Michael,
thanks for the hint. It works :-)
Andreas
Am 10.08.2009 14:52 Uhr, schrieb Michael Ludwig:
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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|