File: libraryPart2.xsd

package info (click to toggle)
eclipse-emf 2.42.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 73,344 kB
  • sloc: java: 711,198; xml: 12,829; makefile: 5
file content (20 lines) | stat: -rw-r--r-- 816 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.example.eclipse.org/Library2"
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
    xmlns:lib1="http://www.example.eclipse.org/Library1"
    xmlns:lib2="http://www.example.eclipse.org/Library2"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    
    <xsd:import namespace="http://www.example.eclipse.org/Library1" 
                schemaLocation="libraryPart1.xsd"/>
  
  <xsd:complexType name="Library">
    <xsd:sequence>
      <xsd:element name="name" type="xsd:string"/>
      <xsd:element maxOccurs="unbounded" minOccurs="0"
          name="writers" type="lib1:Writer"/>
      <xsd:element maxOccurs="unbounded" minOccurs="0"
          name="books" type="lib1:Book"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:schema>