Generating a Schema from a DLL or Executable
The XSD tool also knows how to
generate a an XSD from compiled types in a DLL or executable file.
When generating a schema, xsd
makes certain
assumptions about the XSD types of instance variables. For any given
CLR type, xsd
chooses an XSD type for the schema.
Table 8-2 lists each XSD type and its
corresponding common language runtime type. In the cases where more
than one XSD type maps to a single CLR type, the bold one will be
used.
XSD type |
CLR type |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Get .NET & XML now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.