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]

RE: Minimum value


Hi,

Try...

  <xsl:value-of select="//value[not(. &gt; //value)]"/>

(replace the // with the full path as required)

Hope this helps
Marrow
http://www.marrowsoft.com - home of Xselerator (XSLT IDE and debugger)
http://www.topxml.com/Xselerator


-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of Avula, Raj
Sent: 20 September 2002 22:03
To: 'xsl-list@lists.mulberrytech.com'
Subject: [xsl] Minimum value



Hi,
	My xml is like this...

	<a>
		<value>34</value>
	</a>
	<a>
		<value>23</value>
	</a>
	<a>
		<value>56</value>
	</a>
	<a>
		<value>22</value>
	</a>

Is there a way to find out the "minimum" of "value" with out using
xsl:sort
function?

Or

is there a way in which I can form a string like 34:23:56:22: using xsl?


Thank for the help,
Raj..



"MMS <firstam.com>" made the following
 annotations on 09/20/02 14:05:05
------------------------------------------------------------------------
------
"THIS E-MAIL MESSAGE AND ANY FILES TRANSMITTED HEREWITH, ARE INTENDED
SOLELY FOR THE USE OF THE INDIVIDUAL(S) ADDRESSED AND MAY CONTAIN
CONFIDENTIAL, PROPRIETARY OR PRIVILEGED INFORMATION.  IF YOU ARE NOT THE
ADDRESSEE INDICATED IN THIS MESSAGE (OR RESPONSIBLE FOR DELIVERY OF THIS
MESSAGE TO SUCH PERSON) YOU MAY NOT REVIEW, USE, DISCLOSE OR DISTRIBUTE
THIS MESSAGE OR ANY FILES TRANSMITTED HEREWITH.  IF YOU RECEIVE THIS
MESSAGE IN ERROR, PLEASE CONTACT THE SENDER BY REPLY E-MAIL AND DELETE
THIS MESSAGE AND ALL COPIES OF IT FROM YOUR SYSTEM."

========================================================================
======


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


 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]