C
C# newbie
Hi,
How can I find out a node into an xml file contains text information or not
?
thanks
How can I find out a node into an xml file contains text information or not
?
thanks
C# newbie said:How can I find out a node into an xml file contains text information
or not ?
C# newbie said:My xml contains :
<first-name>Benjamin</first-name> as you see it's not
<first-name>"Benjamin"</first-name>
so the solution you passed it's not working for it. Any suggestions ?
Jon Skeet said:Why do you think that quotes within the text node would make any
difference?
C# newbie said:I didn't know that. so they're same !
Andreas Håkansson said:Newbie,
I think what Jon was telling is that you do not have to put Benjamin in
double quotes ("") to make it a string in xml, since the who file is already
a textfile. So Benjamin and "Benjamin" are not the same string just as
much Andreas and Benjamin are different strings.
HTH,
//Andreas