How to dynamically redo the codes below?
XmlDocument xmlDoc = new XmlDocument();
try
{
xmlDoc.Load(xmlFileName);
XmlNode node;
node = xmlDoc.DocumentElement;
foreach (XmlNode node1 in node.ChildNodes)
{
if (node1.Name == "Note") <-- Parent node
{
How do I make the Node2 dynamic instead of hardcoding them?
foreach (XmlNode node2 in node1.ChildNodes)
{
&nb ...
Go to the complete details ...