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 (2nd Example)
C# sample code showing how iterate over nodes in an XML document. private void Iterate2_Click(object sender, System.EventArgs e)
{
Chilkat.Xml xml = new Chilkat.Xml();
xml.LoadXmlFile("companies.xml");
bool b = xml.FirstChild2();
while (b)
{
listBox1.Items.Add(xml.GetChildContent("name"));
b = xml.NextSibling2();
}
}
|
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.