Re: Getting a longest node

Subject: Re: Getting a longest node
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 17 Jan 2000 12:03:53 +0000
Sebastian and all--

At 04:27 PM 1/17/00 +0000, you wrote:
>I did something like this;  put all the values into a RTF,
>convert it to a node-set, sort it numerically, and find the
>last one. I append my (uncommented) code which attempts to work out
>column widths for a table by adding together all the cell lengths in
>each column and working out proportions

That's pretty cool, I'll try it. Am I going to need the extension function
to get access to the value? That could trouble the purist (or portability
freak).

>  <xsl:value-of select="sum(xt:node-set($cells)/cell)"/>

Heh. Still puzzling--
Wendell

======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


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


Current Thread