Q:
How to get the attribute value of the root element(first element in my xml file) through LINQ.
.cs :
XDocument xmlDoc = XDocument.Load(targetFileName);
.xml :
<timetable ascttversion="2010" options="idprefix:realID">
I want to read the options value.
Something like this: