Jump to content

max of numbers


Huma

Recommended Posts

HelloHow can i find maximum of numbers in xsl from xml file like<doc><value>3</value><value>11</value><value>3</value><value>2</value><value>12</value><value>5</value><value>0</value><value>7</value></doc>without using max function of XPath2.Thanx in advanceHuma

Link to comment
Share on other sites

The only OTHER way I can think of is by placing another element that will contain the actual number and output that number instead or choosing the element "manually"...I mean.. why don't you want to use the max() function? In what other way you'd expect XSLT to perform a function's action? Oh well... server side script?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...