I have some xml like this:
<Action id="SignIn" description="nothing to say here" title=hello" />
Using LINQ to XML, how can I get the inner value of id? I am not on my dev machine (anothe machine with no dev stuff but so credentials) but I haven't tried:
var x = from a in xe.Elements("Action")
select a.Attribute("id").Value
Could I do something along those lines? I don't want a bool condition. Also, how would this be done using traditional XML methods before LINQ was introduced (I am on .NET 3.5 though).
Thanks