C# obtaining XML attributes [closed]

attichveige

New Member
\[quote\] Possible Duplicate:
C#: Read XML Attribute using XmlDocument \[/quote\]In C# if I were to have the XMLDocument containing:\[code\]<Hello><Person:"Alan" Saying:"My name is Alan"></Hello>\[/code\]Then how might I obtain the single attribute "Saying"? I've found code which works when a single attribute is contained within the "<>" however it does not appear to work where there are multiple attributes inside as is above.Any help would be much appreciated, I'm rather a C# novice :)
 
Back
Top