This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
selecting a perticular node
- From: "tony" <dhirajtorane at yahoo dot com>
- To: <XSL-List at lists dot mulberrytech dot com>
- Date: Thu, 20 Dec 2001 18:33:10 +0530
- Subject: [xsl] selecting a perticular node
- Reply-to: xsl-list at lists dot mulberrytech dot com
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