Jump to content

To Make a List to be ordered in XSLT Page


prichardson

Recommended Posts

Hello,I have setup a property list which displays in lowest price to high price property as the default. I would like to change it, so the most expensive property is shown first.Here is the link to the website http://www.oliverfinn.com/pages/properties...F0207B0A16964DECan anyone please just mention the piece of code that I need to add or change to make the xslt /classic asp page display the most expensive property first.My guess is it might be in this bit of code?

<xsl:when test="xyz/xyz/property/address/property_location">	<xsl:for-each select="xyz/xyz/property">

Thanks

Link to comment
Share on other sites

Have you tried the <xsl:sort> and set it to sort on the lowest price node??

Hello,I have setup a property list which displays in lowest price to high price property as the default. I would like to change it, so the most expensive property is shown first.Here is the link to the website http://www.oliverfinn.com/pages/properties...F0207B0A16964DECan anyone please just mention the piece of code that I need to add or change to make the xslt /classic asp page display the most expensive property first.My guess is it might be in this bit of code?
<xsl:when test="xyz/xyz/property/address/property_location">	<xsl:for-each select="xyz/xyz/property">

Thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...