Best method to parse xml content in VS 2005?

  • Thread starter Thread starter polaris431
  • Start date Start date
P

polaris431

I am new to VS 2005 although I have years of experience with the
previous versions of VS. Without having to spend a lot of time diving
into the docs, can someone tell me the easiest way to parse xml
content? In the past I used the DOM object model and XPath. Perhaps
things have improved in VS 2005 and something else has replaced the
need for DOM. Basically, I just want to get at a node and read out the
contents although there can be multiple nodes of the same parent.
 
There is an XPathDocument if you need read-only access; it is meant to be a
bit more optimised (i.e. doesn't need as many class instances as the DOM).

Alternatively, perhaps an XmlReader directly? Much harder to work with, but
very efficient.

Marc
 
Back
Top