[xsl] selecting a perticular node

Subject: [xsl] selecting a perticular node
From: "tony" <dhirajtorane@xxxxxxxxx>
Date: Thu, 20 Dec 2001 18:33:10 +0530
hi,
i have a XML file :
<actors>
 <actor id="3"/>
 <actor id="5"/>
 <actor id="2"/>
 <actor id="1"/>
 <actor id="6"/>
 <actor id="7"/>
</actors>

I want to write a XPATH expression which will return me the node having
smallest value of attribute "id"
     e.g. <xsl:value-of select="<actor> having smallest id value" />

thanks,
dhiraj





_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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


Current Thread