View Single Post
  #2 (permalink)  
Old January 5th, 2010, 09:49 AM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

In theory an implementation could provide a collation that understands roman numerals, but I think it's unlikely that any implementation does so.

I think you will have to write a function that translates roman numerals to numbers, and then sort on the resulting number. It shouldn't be too difficult.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
Reply With Quote
The Following User Says Thank You to mhkay For This Useful Post:
bonekrusher (January 5th, 2010)