xmlconvert

XmlConvert and nullable results?

In my project I receive an XmlElement of which I have to parse a few properties back to a class. For mapping these I use the XmlConvert class. But the source being XML there often are empty nodes or nodes that are not readable. Rather then throwing a bunch of errors, I want to get a NULL back to store in my class. I started making ...

Parsing Size and Position Objects from an XmlDocument?

Is there more elegant syntax for reading/parsing Size and Point objects in an Xml document? Source Xml Nodes: <objSize>{Width=64, Height=64}</objSize> <Location_X>20</Location_X> <Location_Y>20</Location_Y> Currently I use: For Size: Dim sizeNode As String = objSize.InnerText Dim sizeText() As String = sizeNode.Split(CChar("="...