January 19, 2004

Fun from the trenches

Been in the trenches for months. Just coming up for air very quickly... Lot's to write about eventually. XAML, coding display logic, my take (as if you cared) on Longhorn and Virtual PC, and of course my family. For now, I figured I'd post a little treat complete with source code. Please note: the code needs some refactoring -- 'nuff said. What is it? I wrote a little utility that traverses an XML file and uses the CodeDOM to generate an XML Serialization class from it. Of course, the tool has its little quirks - (ex: isn't smart enough to detect an XmlArray and XmlArrayItem, codes only in C#) - but it sure is great for getting a head start on the tedious process of building a serialization object. You'll also want to modify the field names after the generator is done, but for most xml files this little utility should save you a good deal of time. Feel free to distribute, modfy, and extend for public or private use -- just be sure to include the original zip file with your distribution.
Download file

Posted by Christian at January 19, 2004 07:16 PM |
Comments
Post a comment