Click here to Skip to main content
15,884,388 members
Home / Discussions / C#
   

C#

 
QuestionHow to read xmls and count the number of specific elements in them? Pin
turbosupramk317-Nov-10 8:53
turbosupramk317-Nov-10 8:53 
AnswerRe: How to read xmls and count the number of specific elements in them? Pin
T M Gray17-Nov-10 9:39
T M Gray17-Nov-10 9:39 
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
turbosupramk317-Nov-10 9:47
turbosupramk317-Nov-10 9:47 
AnswerRe: How to read xmls and count the number of specific elements in them? Pin
Pete O'Hanlon17-Nov-10 9:40
mvePete O'Hanlon17-Nov-10 9:40 
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
turbosupramk317-Nov-10 11:07
turbosupramk317-Nov-10 11:07 
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
Pete O'Hanlon17-Nov-10 11:27
mvePete O'Hanlon17-Nov-10 11:27 
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
turbosupramk318-Nov-10 4:38
turbosupramk318-Nov-10 4:38 
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
T M Gray18-Nov-10 5:39
T M Gray18-Nov-10 5:39 
Unless you have an XML element called t that is exactly what should happen. SelectNodes takes an XPath expression as an argument. It isn't a string search. If you are looking for Document elements you need to search for /Document. The / tells it to search from the document root. Otherwise it will search from whatever point you are at in the file at the time.

If you are going to use XML as your data format you should really make an effort to learn XPath. XPath tutorial[^]
GeneralRe: How to read xmls and count the number of specific elements in them? Pin
turbosupramk318-Nov-10 6:15
turbosupramk318-Nov-10 6:15 
QuestionSendKeys.Send Pin
sanforjackass17-Nov-10 8:27
sanforjackass17-Nov-10 8:27 
AnswerRe: SendKeys.Send Pin
Kristian Sixhøj17-Nov-10 8:58
Kristian Sixhøj17-Nov-10 8:58 
GeneralRe: SendKeys.Send Pin
sanforjackass17-Nov-10 9:04
sanforjackass17-Nov-10 9:04 
GeneralRe: SendKeys.Send Pin
Kristian Sixhøj17-Nov-10 9:19
Kristian Sixhøj17-Nov-10 9:19 
GeneralRe: SendKeys.Send Pin
sanforjackass17-Nov-10 17:54
sanforjackass17-Nov-10 17:54 
GeneralRe: SendKeys.Send Pin
Calla17-Nov-10 21:56
Calla17-Nov-10 21:56 
GeneralRe: SendKeys.Send Pin
sanforjackass17-Nov-10 22:23
sanforjackass17-Nov-10 22:23 
GeneralRe: SendKeys.Send Pin
Calla17-Nov-10 22:37
Calla17-Nov-10 22:37 
GeneralRe: SendKeys.Send Pin
sanforjackass17-Nov-10 22:45
sanforjackass17-Nov-10 22:45 
Questionget the darkest pixel from an image Pin
pancakeleh17-Nov-10 3:40
pancakeleh17-Nov-10 3:40 
AnswerRe: get the darkest pixel from an image Pin
fjdiewornncalwe17-Nov-10 3:45
professionalfjdiewornncalwe17-Nov-10 3:45 
GeneralRe: get the darkest pixel from an image Pin
pancakeleh17-Nov-10 4:02
pancakeleh17-Nov-10 4:02 
GeneralRe: get the darkest pixel from an image Pin
Pete O'Hanlon17-Nov-10 4:29
mvePete O'Hanlon17-Nov-10 4:29 
GeneralRe: get the darkest pixel from an image Pin
_Erik_17-Nov-10 5:37
_Erik_17-Nov-10 5:37 
QuestionInternet Explorer Script Error Pin
Krishna Varadharajan16-Nov-10 23:25
Krishna Varadharajan16-Nov-10 23:25 
AnswerRe: Internet Explorer Script Error Pin
Manfred Rudolf Bihy17-Nov-10 1:52
professionalManfred Rudolf Bihy17-Nov-10 1:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.