Maybe I missed something, but can anyone explain to me the meaning and differences of the following properties of XmlSchemaElement
class:
- What are the differences between X
mlSchemaElement.ElementSchemaType
andXmlSchemaElement.ElementType
? - What are the differences between
QualifiedName, SchemaTypeName and RefName
? - How
QualifiedName, SchemaTypeName and RefName
are related to each other? WhenSchemaTypeName.IsEmpty == true
, does it mean thatRefName.IsEmpty == false
? - Is it possible that all
*Names
will beEmpty
, what does it mean, an embedded ComplexType?
In general I need to parse xsd and map the result to internal structure, so I need some rules, which allows me to generate different types of object. Let's say if (SchemaTypeName.IsEmpty)
then in ElementSchemaType
I have SimpleType
with all the restrictions provided.