Friday, April 17, 2009

XML get child node 's description C# asp.net

foreach (XmlNode nChild in nItem.ChildNodes)

{

if (nChild.Name == "BrowseNode") //string compare !

{

Response.Write(nChild[

"Name"].InnerText + "<br>");

Response.Write(nChild[

"BrowseNodeId"].InnerText + "<br>");

}

}

No comments: