Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Iteration in XML (1st Example)
C# sample code showing how iterate over nodes in an XML document. private void Iterate1_Click(object sender, System.EventArgs e)
{
Chilkat.Xml xml = new Chilkat.Xml();
xml.LoadXmlFile("companies.xml");
Chilkat.Xml company = xml.FirstChild();
while (company != null)
{
listBox1.Items.Add(company.GetChildContent("name"));
company = company.NextSibling();
}
}
|
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.