Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: How to sort attributes to find min and max? How to sort attributes to find min and max?To: NULL Date: 3/21/2008 2:15:00 PM Hi I'm new to XSL. I have an xml file in a network folder which contains the following: <?xml version="1.0" encoding="UTF-8"?> <Results version="1.2"> <sampleResult timeStamp="1203298892146" dataType="text" threadName="No 1" label="C Initialization" time="190" responseMessage="OK" responseCode="200" success="true"/> <sampleResult timeStamp="1203298892102" dataType="text" threadName="Mo 1-1" label="P Update" time="209" responseMessage="OK" responseCode="200" success="true"/> <sampleResult timeStamp="1203298892193" dataType="text" threadName="Sric 3-1" label="C Initialization" time="215" responseMessage="OK" responseCode="200" success="true"/> <sampleResult timeStamp="1203298892234" dataType="text" threadName="Sam 4" label="P Update" time="199" responseMessage="OK" responseCode="200" success="true"/> </Results> I like to sort and find the min and max of time based on label type. So in this case, for labels "C Initialization" I like to sort their times to find the min and max after sorting. Any help is appreciated. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
