Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# read xml tag value

XmlNodeList nodeList=
(infodoc.SelectNodes("configuration/Settings/directory"));

foreach (XmlNode elem in nodeList)
{
string strValue = elem.Attributes[1].Value;

}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #xml #tag
ADD COMMENT
Topic
Name
1+2 =