Search The Blog
About this site

@RoyOsherove

Subscribe!

This site aims to connect all the dots of my online activities - from tools, books blogs and twitter accounts, to upcoming conferences, engagements and user group talks.

from 5whys.com
Twitter: @RoyOsherove
My Book: The Art of Unit Testing
Latest Posts
« Testing ASP.NET MVC Controllers with Typemock Isolator | Main | Looking for a PHP programmer »
Tuesday
Mar042008

Generate an object model from an XML string

Tommy sent me an email:

"I've written a little web application that could come in handy for your many projects. It generates the C# code needed to read and write the given xml (Just past some xml in the textbox). You can find it @ http://xgeneration.tuyware.com/
It's candidate for a lot of improvements, but it's already usefull.
Enjoy it !"

I tried it out with an RSS feed and it generated classes for all the elements in the feed, with the root element being the one you'd start from, calling root.ReadXML().

Very nice! I can see how this could be useful in many scenarios, but be sure not to paste in anything secure, since this is a web application!

PrintView Printer Friendly Version

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>