Need to get everyone opinion on best practice. I want to take an XML
document and use it for client configuration. Basically I want the XML to
store user configuration information. So when a user logs into a site - I
get user attributes and match them up to certain attributes in an XML
document to define what options a user will have available. And then load
the results into a user session variable that they can access while on the
site.
Should I use XMLTextReader to loop over each element and match up the
attributes and load that into variables or should I use XPath to query the
XML document using DOM? Once I find a match is there a way to load the
xml data into a structure (key -> value pair using C#). Suggestions -
Ideas?