S
steve_marjoribanks
I want to import a complex type into my schema which contains a complex
type which includes a choice as shown below:
<choice minOccurs="2" maxOccurs="unbounded">
<element ref="gml
os"/>
<element ref="gml
ointProperty"/>
<element ref="gml
ointRep">
</choice>
Howver, in my schema I only want to allow the "gml
os" element to
occur, not the others. Is it possible to restrict the allowable
instances of the imported complexType within my schema? I know I could
just reference the gml
os element directly but I was wondering if it
is possible to import the complex type and then restrict the values?
Thanks
Steve
type which includes a choice as shown below:
<choice minOccurs="2" maxOccurs="unbounded">
<element ref="gml
<element ref="gml
<element ref="gml
</choice>
Howver, in my schema I only want to allow the "gml
occur, not the others. Is it possible to restrict the allowable
instances of the imported complexType within my schema? I know I could
just reference the gml
is possible to import the complex type and then restrict the values?
Thanks
Steve