![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Restricting the behaviour of an imported complexType Restricting the behaviour of an imported complexTypeTo: NULL Date: 3/2/2006 4:54:00 AM 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:pos"/>
<element ref="gml:pointProperty"/>
<element ref="gml:pointRep">
</choice>
Howver, in my schema I only want to allow the "gml:pos" 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:pos element directly but I was wondering if it
is possible to import the complex type and then restrict the values?
Thanks
Steve
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
