W
Wayne
I currently have some code that loads a Schema, and then exports it as a
class. I have the following XML:
<ROOT>
<ADDRESS>
<CITY>Jacksonville</CITY>
<STATE>FL</STATE>
</ADDRESS>
</ROOT>
I then generate a schema and ADDRESS is a ComplexType, when I generate the
code the class that represents Address is called ROOTADDRESS. I am using
XmlCodeExporter.ExportTypeMapping to do the initial code generation. Is
there a way to have the Address class just be called ADDRESS?
--
Thanks
Wayne Sepega
Jacksonville, Fl
"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein
class. I have the following XML:
<ROOT>
<ADDRESS>
<CITY>Jacksonville</CITY>
<STATE>FL</STATE>
</ADDRESS>
</ROOT>
I then generate a schema and ADDRESS is a ComplexType, when I generate the
code the class that represents Address is called ROOTADDRESS. I am using
XmlCodeExporter.ExportTypeMapping to do the initial code generation. Is
there a way to have the Address class just be called ADDRESS?
--
Thanks
Wayne Sepega
Jacksonville, Fl
"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein