Click here to Skip to main content
15,901,373 members
Home / Discussions / C#
   

C#

 
GeneralRe: executing function in Parent FORM from Child FORM Pin
S. Senthil Kumar12-Feb-06 14:00
S. Senthil Kumar12-Feb-06 14:00 
GeneralRe: executing function in Parent FORM from Child FORM Pin
Colin Angus Mackay13-Feb-06 8:32
Colin Angus Mackay13-Feb-06 8:32 
GeneralRe: executing function in Parent FORM from Child FORM Pin
emran83413-Feb-06 8:23
emran83413-Feb-06 8:23 
GeneralRe: executing function in Parent FORM from Child FORM Pin
Colin Angus Mackay13-Feb-06 8:35
Colin Angus Mackay13-Feb-06 8:35 
QuestionMultiple Colored ProgressBar Pin
suchiate11-Feb-06 21:33
suchiate11-Feb-06 21:33 
AnswerRe: Multiple Colored ProgressBar Pin
Robert Rohde11-Feb-06 22:39
Robert Rohde11-Feb-06 22:39 
GeneralRe: Multiple Colored ProgressBar Pin
suchiate11-Feb-06 22:43
suchiate11-Feb-06 22:43 
GeneralRe: Multiple Colored ProgressBar Pin
Dario Solera11-Feb-06 23:42
Dario Solera11-Feb-06 23:42 
GeneralRe: Multiple Colored ProgressBar Pin
suchiate11-Feb-06 23:46
suchiate11-Feb-06 23:46 
GeneralRe: Multiple Colored ProgressBar Pin
User 665811-Feb-06 23:59
User 665811-Feb-06 23:59 
GeneralRe: Multiple Colored ProgressBar Pin
suchiate12-Feb-06 0:11
suchiate12-Feb-06 0:11 
QuestionDataList Control in Windows Forms Pin
Adel Khayata11-Feb-06 20:47
Adel Khayata11-Feb-06 20:47 
QuestionDNS .Resolve & .NET 2.0 Headache?? Pin
gman4411-Feb-06 18:24
gman4411-Feb-06 18:24 
Questionhow to know where next Location is ? Pin
CiNN11-Feb-06 14:47
CiNN11-Feb-06 14:47 
QuestionC# XPath expression help Pin
eggie511-Feb-06 12:33
eggie511-Feb-06 12:33 
I'm making a C# app that does alot of xpath queries, and I was having trouble with one. Here is the xml I am working with:

<?xml version="1.0" encoding="utf-8"?>
<reviewers>
<reviewer>
<name>Matti Latva-aho</name>
<email>asf@asf</email>
<country>Finland</country>
<affiliation>University of Oulu</affiliation>
<username>matla</username>
<password>19harava</password>
<interests>
<interest>Track II</interest>
<interest>Track IV</interest>
<interest>Track III</interest>
</interests>
<papers>
<id>1</id>

</papers>
</reviewer>
</reviewers>

My question is how can I get - using XmlNode.SelectNodes() - get all the "reviewer" nodes with "id" node that is equal to a number x. ???

Using the below expression I can get the papers node with the id that I specify, but I want the parent of papers, reviewer.

XmlNodeList reviewerNodes=docReviewers.SelectNodes("//reviewers/reviewer/papers[id='"+p.id+"']");



/\ |_ E X E GG

-- modified at 18:33 Saturday 11th February, 2006
AnswerRe: C# XPath expression help Pin
George L. Jackson11-Feb-06 15:52
George L. Jackson11-Feb-06 15:52 
GeneralRe: C# XPath expression help Pin
eggie511-Feb-06 16:10
eggie511-Feb-06 16:10 
GeneralRe: C# XPath expression help Pin
eggie511-Feb-06 17:46
eggie511-Feb-06 17:46 
Questiona problem with SQL stored procedure , LIKE and '%' Pin
shabonaa11-Feb-06 11:06
shabonaa11-Feb-06 11:06 
AnswerRe: a problem with SQL stored procedure , LIKE and '%' Pin
Colin Angus Mackay11-Feb-06 13:37
Colin Angus Mackay11-Feb-06 13:37 
QuestionDNS Resolve problem in .NET 2.0??? Pin
gman4411-Feb-06 9:36
gman4411-Feb-06 9:36 
AnswerRe: DNS Resolve problem in .NET 2.0??? Pin
spirit_of_pak12-Feb-06 17:36
spirit_of_pak12-Feb-06 17:36 
GeneralRe: DNS Resolve problem in .NET 2.0??? Pin
gman4413-Feb-06 3:16
gman4413-Feb-06 3:16 
QuestionConditional Property Setters (friends in C#) Pin
Marc Clifton11-Feb-06 8:00
mvaMarc Clifton11-Feb-06 8:00 
AnswerRe: Conditional Property Setters (friends in C#) Pin
Kevin McFarlane11-Feb-06 8:45
Kevin McFarlane11-Feb-06 8:45 

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.