<Child>
type="Note"
<Child type="Note"></Child> <Child type="Pen"></Child> <Child type="Note"></Child> <Child type="Ruler"></Child> <Child type="Note"></Child>
XmlDocument xml = new XmlDocument(); int count; xml.LoadXml(str); XmlNodeList xnList = xml.SelectNodes("/{ParentNode}/Child[@type='Book']"); count = xnList.count;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)