Click here to Skip to main content
15,923,120 members
Home / Discussions / C#
   

C#

 
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 
QuestionAForge filter Pin
pancakeleh16-Nov-10 21:57
pancakeleh16-Nov-10 21:57 
AnswerRe: AForge filter Pin
Pete O'Hanlon16-Nov-10 22:27
mvePete O'Hanlon16-Nov-10 22:27 
GeneralRe: AForge filter Pin
pancakeleh16-Nov-10 22:59
pancakeleh16-Nov-10 22:59 
QuestionHow Create TLS connection for jabber protocol Pin
Member 427485516-Nov-10 20:47
Member 427485516-Nov-10 20:47 
AnswerRe: How Create TLS connection for jabber protocol Pin
Richard MacCutchan16-Nov-10 21:28
mveRichard MacCutchan16-Nov-10 21:28 
QuestionScreenshot with Windows Service (Win7) Pin
Jacob D Dixon16-Nov-10 18:30
Jacob D Dixon16-Nov-10 18:30 

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.