carbidecpp20devenv/plugins/org.eclipse.xsd.source_2.4.1.v200808251517/src/org.eclipse.xsd.ecore.importer_2.4.0.v200808251517/examples/library/model/libraryPart2.xsd
changeset 1 82d1d1de1a01
equal deleted inserted replaced
-1:000000000000 1:82d1d1de1a01
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <xsd:schema targetNamespace="http://www.example.eclipse.org/Library2"
       
     3     xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
       
     4     xmlns:lib1="http://www.example.eclipse.org/Library1"
       
     5     xmlns:lib2="http://www.example.eclipse.org/Library2"
       
     6     xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       
     7     
       
     8     <xsd:import namespace="http://www.example.eclipse.org/Library1" 
       
     9                 schemaLocation="libraryPart1.xsd"/>
       
    10   
       
    11   <xsd:complexType name="Library">
       
    12     <xsd:sequence>
       
    13       <xsd:element name="name" type="xsd:string"/>
       
    14       <xsd:element maxOccurs="unbounded" minOccurs="0"
       
    15           name="writers" type="lib1:Writer"/>
       
    16       <xsd:element maxOccurs="unbounded" minOccurs="0"
       
    17           name="books" type="lib1:Book"/>
       
    18     </xsd:sequence>
       
    19   </xsd:complexType>
       
    20 </xsd:schema>