Mercurial > repos > IBBoard
annotate schemas/translation.xsd @ 81:09f71d10c249
* Fix documentation - we're now using ISO codes (or should be, although we do handle invalid ones)
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 18 Apr 2010 14:09:16 +0000 |
parents | a70d89de1435 |
children | 13f0ffb012cb |
rev | line source |
---|---|
64
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
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"> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 <xs:complexType name="translationtype"> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 <xs:simpleContent> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 <xs:extension base="xs:string"> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 <xs:attribute name="id" type="xs:ID" /> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 </xs:extension> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 </xs:simpleContent> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 </xs:complexType> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 <xs:element name="translations"> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 <xs:complexType> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 <xs:sequence> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 <xs:element name="translation" minOccurs="0" maxOccurs="unbounded" type="translationtype"/> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 </xs:sequence> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 <xs:attribute name="lang" type="xs:string" use="required"/> |
79
a70d89de1435
Re #32: Add staged loading of translations
IBBoard <dev@ibboard.co.uk>
parents:
64
diff
changeset
|
16 <xs:attribute name="extends" type="xs:string" default=""/> |
64
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 </xs:complexType> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 </xs:element> |
70d6c2a5d99e
* Move schema from "dtds" folder to "schemas" folder to match warfoundry:429
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 </xs:schema> |