Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

outside reference uisng choice tag in XML Schema

 
Ralph Ching
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello fellow ranchers,

is it possible to use a reference to the other file using choice tag in XML schema?

for example:

<xs:choice>
<!-- this element has a definition inside the current xsd file -->
<xs:element name="student" type="studentType"/>

<!-- This element is in another xsd file named "Teacher.xsd"-->
<xs:element name="teacher" type="teacherType"/>
</xs:choice>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic