Click here to Skip to main content
15,914,323 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to use WM_COPYDATA to send a struct to another process? Pin
huheng_0_01-Feb-07 17:56
huheng_0_01-Feb-07 17:56 
GeneralRe: How to use WM_COPYDATA to send a struct to another process? Pin
Luc Pattyn2-Feb-07 9:41
sitebuilderLuc Pattyn2-Feb-07 9:41 
QuestionHELP: how to select specific node in XML using c# Pin
drifters31-Jan-07 20:13
drifters31-Jan-07 20:13 
AnswerRe: HELP: how to select specific node in XML using c# Pin
Christian Graus31-Jan-07 20:27
protectorChristian Graus31-Jan-07 20:27 
GeneralRe: HELP: how to select specific node in XML using c# Pin
drifters31-Jan-07 20:32
drifters31-Jan-07 20:32 
GeneralRe: HELP: how to select specific node in XML using c# [modified] Pin
bobsugar22231-Jan-07 22:19
bobsugar22231-Jan-07 22:19 
GeneralRe: HELP: how to select specific node in XML using c# [modified] Pin
drifters31-Jan-07 22:32
drifters31-Jan-07 22:32 
GeneralRe: HELP: how to select specific node in XML using c# Pin
Stefan Troschuetz31-Jan-07 22:33
Stefan Troschuetz31-Jan-07 22:33 
The problem is that your top-level element declares a default namespace (xmlns="http://www.w3.org/2005/Atom") that is valid for all nested elements. This means that your feed and entry have a qualified name of "{http://www.w3.org/2005/Atom}feed" or "{http://www.w3.org/2005/Atom}entry" respectively. Your XPath on the other hand is looking for unqualified feed and entry elements i.e. those declared in the empty namespace. Because your document does not contain such elements nothing is found. To resolve this use the overload of the Select method that takes an IXmlNamespaceResolver. Take a look at the example given by the respective MSDN topic and you should be able to work this out.




"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

GeneralRe: HELP: how to select specific node in XML using c# Pin
drifters1-Feb-07 14:51
drifters1-Feb-07 14:51 
GeneralRe: HELP: how to select specific node in XML using c# Pin
drifters1-Feb-07 16:20
drifters1-Feb-07 16:20 
GeneralRe: HELP: how to select specific node in XML using c# Pin
Stefan Troschuetz1-Feb-07 20:56
Stefan Troschuetz1-Feb-07 20:56 
QuestionCall Java Code Pin
Expert Coming31-Jan-07 20:03
Expert Coming31-Jan-07 20:03 
AnswerRe: Call Java Code Pin
blackjack215031-Jan-07 20:15
blackjack215031-Jan-07 20:15 
Questioncombobox selectedindexchanged event Pin
KrunalC31-Jan-07 19:46
KrunalC31-Jan-07 19:46 
QuestionInterprocess communication using impersonation Pin
ParimalaRadjaram31-Jan-07 19:42
ParimalaRadjaram31-Jan-07 19:42 
QuestionHow to make an User Control in VC# that can be used in VC6? Pin
Andy Rama31-Jan-07 18:42
Andy Rama31-Jan-07 18:42 
AnswerRe: How to make an User Control in VC# that can be used in VC6? Pin
Christian Graus31-Jan-07 20:28
protectorChristian Graus31-Jan-07 20:28 
QuestionHow to get control value from one project to other project Pin
indiaone31-Jan-07 18:40
indiaone31-Jan-07 18:40 
AnswerRe: How to get control value from one project to other project Pin
Christian Graus31-Jan-07 20:29
protectorChristian Graus31-Jan-07 20:29 
QuestionException?? Pin
Rahithi31-Jan-07 18:16
Rahithi31-Jan-07 18:16 
AnswerRe: Exception?? Pin
jdkulkarni31-Jan-07 18:24
jdkulkarni31-Jan-07 18:24 
GeneralRe: Exception?? Pin
Rahithi31-Jan-07 18:29
Rahithi31-Jan-07 18:29 
GeneralRe: Exception?? Pin
jdkulkarni31-Jan-07 18:35
jdkulkarni31-Jan-07 18:35 
GeneralRe: Exception?? Pin
Rahithi31-Jan-07 18:39
Rahithi31-Jan-07 18:39 
AnswerRe: Exception?? Pin
ednrgc1-Feb-07 3:41
ednrgc1-Feb-07 3:41 

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.