Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Sort XML Records in Delphi Source Code Listing // Sort the records by ArticleTitle
procedure TForm1.Example5Click(Sender: TObject);
var
xmlDoc: IChilkatXml;
begin
xmlDoc := CoChilkatXml.Create();
// Load the input document.
xmlDoc.LoadXmlFile('crisp.xml');
// This method sorts the children by of xmlDoc
// by the contents of each child's ArticleTitle
// child node.
xmlDoc.SortRecordsByContent('ArticleTitle',1);
xmlDoc.SaveXml('crispSorted.xml');
end;
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.