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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access