[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
Re:  saxon9 passing values
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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.