[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: math get maximum and subtract 1

Subject: Re: math get maximum and subtract 1
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Tue, 30 Jul 2002 12:03:32 +0100
maximum products math
Hi Sascha,

> The client told me (i do not have a real example) that the input IS
> sorted actually but not the way it used to be.

Yes; it looks like they're sorting it by row first now, rather than by
column. That's great, since it still means that the last
DESCRIPTION_ITEM in the DESCRIPTION_TABLE has the maximum row/col, so
you can still use:

<xsl:variable name="nrow"
  select="/DESCRIPTION_TABLE/DESCRIPTION_ITEM[last()]/@row" />

<xsl:variable name="ncol"
  select="/DESCRIPTION_TABLE/DESCRIPTION_ITEM[last()]/@col" />

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Re: math get maximum and subtract 1, (continued)
        • sascha - Thu, 25 Jul 2002 06:44:57 -0400 (EDT)
        • sascha - Mon, 29 Jul 2002 08:19:17 -0400 (EDT)
        • Jeni Tennison - Tue, 30 Jul 2002 05:09:18 -0400 (EDT)
        • sascha - Tue, 30 Jul 2002 06:43:39 -0400 (EDT)
        • Jeni Tennison - Tue, 30 Jul 2002 07:03:30 -0400 (EDT) <=
        • sascha - Wed, 31 Jul 2002 06:50:52 -0400 (EDT)
        • sascha - Wed, 31 Jul 2002 10:39:34 -0400 (EDT)
        • Jeni Tennison - Wed, 31 Jul 2002 10:57:52 -0400 (EDT)
        • sascha - Wed, 31 Jul 2002 11:07:37 -0400 (EDT)

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.