[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: Attribute test
Subject: RE: Attribute test From: Kay Michael <Michael.Kay@xxxxxxx> Date: Wed, 12 Apr 2000 17:22:11 +0100 |
> > I need to make the XSLT to test every attribute > > called priority in a document (<document> being the top > > element) and capture the highest priority of the entire > > document, and display it at the top and bottom of the > > document. (I know how to make it display) <xsl:variable name="max-priority"> <xsl:for-each select="//@priority"> <xsl:sort order="descending" data-type="number"/> <xsl:if test="position()=1"><xsl:value-of select="."/></xsl:if> </xsl:for-each> </xsl:variable> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Attribute test, Richard Bell | Thread | RE: Attribute test, Medina, Edward |
legal test???, Medina, Edward | Date | RE: is this legal????, Medina, Edward |
Month |
Keywords