[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: ( Re: RE: how I can select the largest a

Subject: Re: Re: ( Re: RE: how I can select the largest attribute value )
From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
Date: Tue, 18 Jun 2002 15:12:46 +0000
haque hotmail.com
Mike peet has a better solution!!!
cheers mike!


From: "Michael Peet" <mjpeet@xxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  Re:
Date: Tue, 18 Jun 2002 10:59:25 -0400

Hi Bodrul,

What you want is:

<xsl:value-of select="/Root/element[not(/Root/element/@length &gt; @length)]/@length"/>

Best Regards,

Mike

From: Bodrul Haque <Bodrul.Haque@xxxxxxxxxxxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Jun 2002 15:22:48 +0100

Hi List,

Can someone please tell me how I can select the largest attribute value from
the following xml file, without doing


<xsl:value-of select="Root/element[@length="14"]/@length" />.

(I don't want to use a hard coded value in the predicate). Is there an Xpath
that i can use.
Xml file:
<Root>
<element length="3" />
<element length="14" />
<element length="1" />
<element length="6" />
.....
</Root>


I'm using MSXML3.

Thanks in Advance

Bodrul


---------------------------------------------------------------------------


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.
Any views or opinions presented in this Email message are solely those
of the author and do not necessarily represent those of Synergy
Logistics Limited  unless specifically stated.
Email communications are not necessarily secure and therefore
Synergy Logistics Limited does not accept legal responsibility for the
contents of this message.
If you are not the intended recipient and have received this message in
error, Please notify Synergy Logistics Limited immediately.

Synergy Logistics Ltd. 01509 232706

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



_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com



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




_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com



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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.