Sunday, February 22, 2004
XSD -> C#... basically working!
I still have work to do try it out with anonymous types. I know that a
Of course, my definition of right, and the rest of the XML community's definition stand to be radically different.
I'm attaching my hokey sample schema, and the C# that was generated from it:
It would probably also be a good idea to finish reading through the excellent book Definitive XML Schema before I can really say this is a done deal.
simpleType does the right thing... Need to try an anonymous complexType too. What it needs to do in that case is generated a nested class. I'll probably have to refactor it somewhat to make it do that. Then its a case of throwing lots of stuff at it and making sure it does the "right thing".Of course, my definition of right, and the rest of the XML community's definition stand to be radically different.
I'm attaching my hokey sample schema, and the C# that was generated from it:
It would probably also be a good idea to finish reading through the excellent book Definitive XML Schema before I can really say this is a done deal.
# posted 2/22/2004 10:04:31 PM |



