Subject: Re: [xsl] Re: Finding the maximum depth from a node From: Greg Faron <gfaron@xxxxxxxxxxxxxxxxxx> Date: Fri, 10 May 2002 14:42:04 -0600 |
Here's a very simple solution -- use FXSL and its maximum() function/template. Pass to it the list of "folder" nodes and a reference to your comparison function, which will return 1 if the "name" attribute of the first argument is bigger than the name attribute of the second argument.
<xsl:if test="$arg1/@name > $arg2/@name">1</xsl:if>
Greg Faron Integre Technical Publishing Co.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Finding the maximum depth, Dimitre Novatchev | Thread | [xsl] Re: Finding the maximum depth, Dimitre Novatchev |
RE: [xsl] Xalan Rounding, Jeff Kenton | Date | [xsl] newbie question, Mark Hutchinson |
Month |