aspose file tools
The moose likes XML and Related Technologies and the fly likes outside reference uisng choice tag in XML Schema Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "outside reference uisng choice tag in XML Schema " Watch "outside reference uisng choice tag in XML Schema " New topic
Author

outside reference uisng choice tag in XML Schema

Ralph Ching
Greenhorn

Joined: Jul 18, 2006
Posts: 15
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>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: outside reference uisng choice tag in XML Schema
 
Similar Threads
Default value in XML schema
JAXB XJC compiling Issue
Namespace issue
How do I enforce a particular constraint in a schema
Schema for DTD with mixed content