hi,how do i count total number of child node in xml
C#
4
Posts
2
Posters
0
Views
1
Watching
-
hi, how can i count child nodes in xml file.
-
hi, how can i count child nodes in xml file.
Hi there, let the xDoc is a XmlDocument of your xml file, then you can simply get the child count ; xDoc.ChildNodes.Count; ;)
-
Hi there, let the xDoc is a XmlDocument of your xml file, then you can simply get the child count ; xDoc.ChildNodes.Count; ;)
hi iam getting child node value is 0 what i should do plz give one example code .
Hi, Thanks, if u think it's good. otherwise sorry.
-
hi iam getting child node value is 0 what i should do plz give one example code .
Hi, Thanks, if u think it's good. otherwise sorry.
child node VALUE, didnt you ask the number of nodes, value is somehow different thing.