[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] complicacy of sorting
Hello. I write this: <xsl:for-each select="CountryList/Country"> <xsl:sort order="ascending" select="//MonthPriceCountryList/MonthPriceCountry[@CountryID=current()/@ID][ @IStationID=$isid]/@Price"/> <xsl:if test="position()=1"> <xsl:value-of select="//MonthPriceCountryList/MonthPriceCountry[@CountryID=current()/@ID][ @IStationID=$isid]/@Price"/> </xsl:if> </xsl:for-each> I need to get minimum Price from all Country (from CountryList). Each Country has attribute ID, and each MonthPriceCountry has attribute CountryID, which are the same values. For some reason sorting doesn't implements. Please, please, help me to find out the mistake. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|