C# Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

C# Examples

Bounced Mail
Bz2
Character Encoding
CSV
DKIM / DomainKey
Digital Certificates
Digital Signatures
Email
Email Object
FTP
HTML Conversion
HTTP
IMAP
Encryption
MHT / HTML Email
MIME
POP3
RSA
S/MIME
SMTP
Socket
Spider
SSH
SSH Tunnel
SSH Key
SFTP
Tar Archive
Upload
XML
XMP
Zip Compression


More Examples...
Amazon S3
NTLM
FileAccess
RSS
Atom
String
Byte Array
Self-Extractor
Service
PPMD
Deflate
DH Key Exchange
DSA
Bzip2
LZW

 

 

 

 

 

 

Navigate to Content in XML

Demonstrates how to retrieve "Bears" from the following XML:

<?xml version="1.0" encoding="utf-8" ?>

<sports>
    <baseball>
        <mlb>
            <chicago>Cubs</chicago>
            <new_york>Yankees</new_york>
        </mlb>
    </baseball>
    <football>
        <chicago>Bears</chicago>
        <new_york>Jets</new_york>
    </football>
    <basketball>
        <chicago>Bulls</chicago>
        <new_york>Knicks</new_york>
    </basketball>
</sports>

Download: Chilkat .NET Assemblies

Chilkat.Xml xml = new Chilkat.Xml();

//  Assume the XML is contained in the file: sports.xml
bool success;
success = xml.LoadXmlFile("sports.xml");
if (success != true) {
    textBox1.Text += xml.LastErrorText + "\r\n";
    return;
}

Chilkat.Xml xml2 = null;
Chilkat.Xml xml3 = null;

xml2 = xml.GetChildWithTag("football");

xml3 = xml2.GetChildWithTag("chicago");

textBox1.Text += xml3.Content + "\r\n";


 

© 2000-2012 Chilkat Software, Inc. All Rights Reserved.

Email Component · XML Parser