KML objects with .Net
Just finished translating the kml 2.2 beta schema into a .Net business object. Using the xsd tool only took me so far, i actually had to get rid 3 items for it to work at all:
atom:author
atom:link
xal:addressdetails
With that, i was able to to get a viable set of business objects representing the schema. Creating a kmlobject though and trying to serialize it didn't work, however, and I had to make a few more changes. Namely, I needed to add an XMLInclude for DocumentType and FolderType everywhere where an XMLInclude existed for NetworkLink. I've included the finished product here.
atom:author
atom:link
xal:addressdetails
With that, i was able to to get a viable set of business objects representing the schema. Creating a kmlobject though and trying to serialize it didn't work, however, and I had to make a few more changes. Namely, I needed to add an XMLInclude for DocumentType and FolderType everywhere where an XMLInclude existed for NetworkLink. I've included the finished product here.