I came across a requirement today, where I had to sort a XML file by one of the attributes in one of its child nodes. I did some searching and came across these excellent posts by Ben Nadel. Obviously, that gave me some headstart and it was clear that XSLT was the way to go. I have not used a lot of XSLT in the past so my knowledge is a bit limited in this area.
After reading a couple of articles on the subject and understanding some basic stuff – here is what I came up with. Read the rest of this entry »