Re: attribute based sorting
I wanted to sort based on salary. please suggest me on this.can you give me some sample code. my sample xml file look like this <employee> <COLUMN NAME="SALARY">95000</COLUMN> </employee> with multiple employees.
I assume you process <employee> maybe in a xsl:for-each loop. The try:
<xsl:sort select="column/@salary" *data-type="number"*/>
-- _______________________________________________________________ Michael M|ller-Hillebrand: Dokumentations-Technologie Adobe Certified Expert, FrameMaker Lvsungen und Training, FrameScript, XML/XSL, Unicode Blog: http://cap-studio.de/ - Tel. +49 (9131) 28747
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