Wednesday, November 30, 2022
Code Search
Code Bank
.NET Applications
XSD Schema Generator
.NET/XML Training


Sorting XML by Date with IComparer and the XPathExpression Class

The XPathExpression class exposes two overloaded versions of the AddSort() method that can be used to sort XML data. This example demonstrates how to supply a custom object that implements the IComparer interface to the AddSort() method so that custom XML sorts on data types such as dates can be performed.

Teaches XML,XPath, IComparer
Requirements .NET 1.0
Example: Click Here
View Source Code: Click Here
Download Code: Click Here


.NET, SharePoint and Silverlight Training Solutions
    Online, Onsite and Video Training on .NET and SharePoint technologies available through The Wahlin Group.

© 2007 Wahlin Consulting LLC
XML for ASP.NET Developers in bookstores