Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python 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();
}
}
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.