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

Does XSLT need min() & max()?

Subject: Does XSLT need min() & max()?
From: "Anthony B. Coates" <abcoates@xxxxxxxxxxxxx>
Date: Wed, 07 Jul 1999 21:55:13 AET
xsl min
I've been trying to use XSL to format some XML data, and then to tranform it
into another view.  The problem is essentially that I have columns of different
lengths, and need to work out the maximum column size required for the second
view.

I can't seem to achieve this at the moment (using LotusXSL 0.17.1).  If you
could set variable values more than once (as apparently in SAXON), you could
work out the maximum in a loop and store it for use outside of the loop.

Now, what I want would be well served by a max() function, but feature-bloat is
the issue, I guess.  Any recommendations?  Does XSL need max() & min(), or does
it need <xsl:set-variable .../>, or should I just be calling out to some
JavaScript from inside LotusXSL?  I would be grateful for any tips.

	Cheers,
			Tony.

** Anthony B. Coates
** Software Engineer (Java).  This is a 100% Pure Java e-mail.
** <mailto:abcoates@xxxxxxxxxxxxx>


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


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.