Jump to content

XML ascending descending


xmlxpert

Recommended Posts

Hi, i got this xml file in which I dont know how to view the data file ascendingly or descendinglyin an html file based on its date child root. if I got this code, Do I need to use XSL for this for me to view it asc or desc?<Settings> <View> <topic>XML file</topic> <date>02/05/06 1:30 am</date> </View> <View> <topic>XHTML file</topic> <date>02/05/06 1:25 am</date> </View> </Setting>

Link to comment
Share on other sites

if I got this code, Do I need to use XSL for this for me to view it asc or desc?
In short: yes.To be more exact, you need the <xsl:sort /> element.
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...