Mercurial > repos > IBBoard
annotate dtds/translation.xsd @ 57:44bc5bd5c2f3
Re #24: Add limit objects
* Create base interface
* Create marker interface for percentage and numeric limits
* Make classes implement appropriate interfaces
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 24 Oct 2009 15:42:05 +0000 |
parents | 2b5e73cb83a3 |
children |
rev | line source |
---|---|
22
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ibboard.co.uk/translation" xmlns="http://ibboard.co.uk/translation" elementFormDefault="qualified"> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 <xs:complexType name="translationtype"> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 <xs:simpleContent> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 <xs:extension base="xs:string"> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 <xs:attribute name="id" type="xs:ID" /> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 </xs:extension> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 </xs:simpleContent> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 </xs:complexType> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 <xs:element name="translations"> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 <xs:complexType> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 <xs:sequence> |
35
2b5e73cb83a3
Re #21 - Reduce specificity of translations file
IBBoard <dev@ibboard.co.uk>
parents:
22
diff
changeset
|
13 <xs:element name="translation" minOccurs="0" maxOccurs="unbounded" type="translationtype"/> |
22
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 </xs:sequence> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 <xs:attribute name="lang" type="xs:string" use="required"/> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 </xs:complexType> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 </xs:element> |
ea058f9ea9d4
Closes #15 - Migrate to schema for translations
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 </xs:schema> |