[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: To simulate SORT inside a xsl:choose condition
Hello Kumar,
it's not completely correct, what you wrote in your code. It has to be <xsl:sort order="ascending" select="*[name()=$sortmethod]"/>. This means: Sort all regions in the file by a element ('*'), whose name (e.g. 'city') is the same as specified in $sortmethod. Regards, Joerg I have written XSL to display city, companyname in Table structure .based on the criteria node's sorting i will have to either sort the data by City or Comp_name when it appears for the first time ... 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
|