I'm just starting to use Linq for XML, and I have a simple document with these entries:
<record date="6/27/2002" symbol="DG" price="15.00" />
I need a list of different characters as strings.
This gives me an unordered list of all attributes, but I'm stuck
var query =
from e in xml.Elements()
select e.Attribute("symbol");
How can this be changed to give me what I want?
source
share