This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

selecting a perticular node


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]