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]

how to get maximum, minimum values of an element using XSLT ??


hi ,


i have following xml file :


	<JartaXmlReport>
		<RowNum>111000</RowNum>
		<Sid>111</Sid>
		<PageUrl>/ebusines/default.htm</PageUrl>
		<SessionStartupTime>1</SessionStartupTime>
		<PageTime>100000000</PageTime>
		<TransactionTime>100</TransactionTime>
	</JartaXmlReport>
	<JartaXmlReport>
		<RowNum>222000</RowNum>
		<Sid>222</Sid>
		<PageUrl>/cww/default.htm</PageUrl>
		<SessionStartupTime>22</SessionStartupTime>
		<PageTime>200000000</PageTime>
		<TransactionTime>2000</TransactionTime>
	</JartaXmlReport>
	<JartaXmlReport>
		<RowNum>333000</RowNum>
		<Sid>333</Sid>
		<PageUrl>/yahoo.com/default.htm</PageUrl>
		<SessionStartupTime>33</SessionStartupTime>
		<PageTime>300000000</PageTime>
		<TransactionTime>300</TransactionTime>
	</JartaXmlReport>
	<JartaXmlReport>
		<RowNum>444000</RowNum>
		<Sid>444</Sid>
		<PageUrl>/bmc.com/default.htm</PageUrl>
		<SessionStartupTime>44</SessionStartupTime>
		<PageTime>400000000</PageTime>
		<TransactionTime>400</TransactionTime>
	</JartaXmlReport>
	<JartaXmlReport>
		<RowNum>555000</RowNum>
		<Sid>555</Sid>
		<PageUrl>/bmc.com/default.htm</PageUrl>
		<SessionStartupTime>55</SessionStartupTime>
		<PageTime>500000000</PageTime>
		<TransactionTime>1</TransactionTime>
	</JartaXmlReport>

i am using XSLT for transsormation and i want to show the maximum , minuimum
values of SessionSartupTime , PageTime etc using XSLT...how can i do that ??

if someone has wodne before then pls gimme me the examples.


thanks
AA

 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]