File: Book.xsd2

package info (click to toggle)
xmlunit 1.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,456 kB
  • sloc: java: 11,316; xml: 4,515; makefile: 8; php: 1
file content (20 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<foo:schema xmlns:foo="http://www.w3.org/2001/XMLSchema"
            targetNamespace="http://www.publishing.org"
            xmlns="http://www.publishing.org"
            version="1.0"
            elementFormDefault="qualified">
	
  <foo:element name="Book" type="BookType"/>

  <foo:complexType name="BookType">
    <foo:sequence>
      <foo:element name="Title" type="foo:string" minOccurs="1" maxOccurs="1"/>
      <foo:element name="Author" type="foo:string" minOccurs="1" maxOccurs="unbounded"/>
      <foo:element name="Date" type="foo:string" minOccurs="1" maxOccurs="1"/>
      <foo:element name="ISBN" type="foo:string" minOccurs="1" maxOccurs="1"/>
      <foo:element name="Publisher" type="foo:string" minOccurs="1" maxOccurs="1"/>
    </foo:sequence>
  </foo:complexType>
</foo:schema>