getting started with XML

Rhodan

Active member
Joined
Apr 7, 2015
Messages
41
Programming Experience
10+
I'm just dabbling in XML for the first time and, as usual with MS, there are so many variations of ways to handle something that I'm thoroughly lost.

Can someone point me in the right direction? What is the current selection of XML editing tools in VS? I've discovered XMLDocument and XDocument, XMLTextReader (which doesn't appear to exist in VS2013 express despite online examples saying it does) and XMLReader.

What I want to do is load a mixed binary/XML file, split out the XML (which I've already accomplished with BlockCopy() and IndexOf()), read and modify the XML (mainly attributes rather than innertext), combine the binary header and XML again then save to disk.

Don't need any code, just pointers to current libs and maybe a blurb on what to look for.

Thanks!
 

Rhodan

Active member
Joined
Apr 7, 2015
Messages
41
Programming Experience
10+
Well it took a bunch more digging but I figured out that XDocument is the newer of the two and the main benefit seems to be simplicity when creating XML. Can't see a whole lot of difference other than that.
 
Top Bottom