Delphi Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

Delphi Examples

Bounced Mail
Character Encoding
Digital Certificates
Digital Signatures
Email
FTP
HTML-to-XML
HTTP
IMAP
Encryption
MHT / HTML Email
RSA Encryption
S/MIME
Socket
Spider
String
Tar
Upload
XML
XMP
Zip Compression

More Examples...
Byte Array
Email Object
POP3
SMTP
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
DH Key Exchange
DSA
SSH Key
SSH
SSH Tunnel
SFTP

Unreleased...
Bzip2
LZW
Bz2
Icon

Type Conversion

 

Article: Understanding COM References in Delphi

Sort XML Records in Delphi

Download Delphi Source Code and Project Files

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.

Mail Component · .NET Email Component · XML Parser