At 06:45 PM 1/20/2003, I wrote:
I guess I was thinking of something like
count(ancestor::*|ancestor-or-self::*/preceding-sibling::*)
which might or might not be cheaper.
And (thinking about it) it's not guaranteed to be unique either.
*sigh* I guess I should leave the math to the mathematicians.
Cheers,
Wendell
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
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