//Display all the book titles.
XmlNodeList elemList = doc.GetElementsByTagName("title");
for (int i=0; i < elemList.Count; i++)
{
Console.WriteLine(elemList[i].InnerXml);
}
}
}
[C++, JScript] No example is available in C++ or JScript. To view a Visual Basic or C# example, click the Language Filter button in the upper-left corner of the page.
XmlNodeList elemList = doc.GetElementsByTagName("title");
for (int i=0; i < elemList.Count; i++)
{
Console.WriteLine(elemList[i].InnerXml);
}
}
}
[C++, JScript] No example is available in C++ or JScript. To view a Visual Basic or C# example, click the Language Filter button in the upper-left corner of the page.
| 对此文章发表了评论 |

