* BnacLog.java: changed logger class from org.apache.log4j.Logger to
[bnac-common.git] / data / xml / info.xsd
blob330226763c4c04592684413ca798fe561701d9d7
1 <?xml version="1.0" encoding="utf-8"?>
3 <!--
4 bnac : virtual museum environment creation/manipulation project
5 Copyright (C) 2010 Felipe CaƱas Sabat
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
19 -->
21 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
22 <xs:complexType name="image">
23 <xs:attribute name="src" type="xs:string" use="required"/>
24 </xs:complexType>
26 <xs:complexType name="entry">
27 <xs:sequence>
28 <xs:element name="title" type="xs:string"/>
29 <xs:element name="description" type="xs:string"/>
30 </xs:sequence>
31 <xs:attribute name="lang" type="xs:string"
32 use="required"/>
33 </xs:complexType>
35 <xs:complexType name="page">
36 <xs:sequence>
37 <xs:element name="image" type="image" minOccurs="0"/>
38 <xs:element name="entry" type="entry" maxOccurs="unbounded"/>
39 </xs:sequence>
40 <xs:attribute name="id" type="xs:ID" use="required"/>
41 <xs:attribute name="next" type="xs:IDREF"/>
42 </xs:complexType>
44 <xs:element name="info">
45 <xs:complexType>
46 <xs:sequence>
47 <xs:element name="page" type="page"
48 minOccurs="0" maxOccurs="unbounded"/>
49 </xs:sequence>
50 </xs:complexType>
51 </xs:element>
52 </xs:schema>