T
Thorsten
Hey there,
I have a question concerning xml schemas and its contained elements.
Let's say I have a schema (object.xsd) that defines an abstract element
type (i.e. abstractObject). Dervied from this type are concrete types
(i.e. house, car...).
Now, I have an xml document that expects information about a datatype
in xml schema format. How can I now define that it is supposed to
expect an element of type "house"? Of course I can just refer to
"object.xsd". But that would mean that entries of type "car" would be
accepted as well. What possibilities do I have to restrict the schema
definition to the type "house"?
Thanks in advance,
Thorsten
I have a question concerning xml schemas and its contained elements.
Let's say I have a schema (object.xsd) that defines an abstract element
type (i.e. abstractObject). Dervied from this type are concrete types
(i.e. house, car...).
Now, I have an xml document that expects information about a datatype
in xml schema format. How can I now define that it is supposed to
expect an element of type "house"? Of course I can just refer to
"object.xsd". But that would mean that entries of type "car" would be
accepted as well. What possibilities do I have to restrict the schema
definition to the type "house"?
Thanks in advance,
Thorsten