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

Re: Finding the maximum number of nodes (Redux)

Subject: Re: Finding the maximum number of nodes (Redux)
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 3 Oct 2001 08:16:44 -0700 (PDT)
finding maximum number
> I hate to resurrect this thread from
> http://www.biglist.com/lists/xsl-list/archives/200101/threads.html#00151
> but someone on another list asked a very similar question recently, to which
> i thought "you should be able to do that with XPath".
> 
> The question was "how to determine the number of columns in a table, to
> create the correct colspan='x' for a header?"

See:

http://sources.redhat.com/ml/xsl-list/2001-01/msg00354.html

One can also use a generic max() template for every possible max() problem:

http://www.vbxml.com/downloads/default.asp?id=v2001611171627

The "one XPath expression solution" is O(N x N) complex and should not be used for
large N-s.

Cheers,
Dimitre Novatchev.




__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

 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.