I'm pretty new to coding and have a question on parsing. I'm coding a web part for SharePoint in VS 2008 (C#). I have a SPSiteDataQuery that returns a field with the following information in it.
<recurrence><rule><firstDayOfWeek>su</firstDayOfWeek><repeat><weekly mo="TRUE" tu="TRUE" we="TRUE" th="TRUE" fr="TRUE" weekFrequency="1" /></repeat><repeatInstances>14</repeatInstances></rule></recurrence>
How would I go about getting the needed information from this? I believe I will only need to know what days are "True" and then number of repeat instances.
Do I use System.Xml.XmlDocument or System.Xml.Linq.XDocument to take in the XML and assist in parsing? How would the code for this look?
Thanks in advance for any help.