Mercurial > repos > IBBoard
annotate schemas/translation.xsd @ 121:9131bc46903e default tip
* Add NamedStream wrapper class to support warfoundry:#419
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 28 Nov 2012 20:21:40 +0000 |
parents | 13f0ffb012cb |
children |
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"> |
83
13f0ffb012cb
Re warfoundry:#272 : Program errors on exit if language file fails to load.
IBBoard <dev@ibboard.co.uk>
parents:
79
diff
changeset
|
6 <xs:attribute name="id" type="xs:ID" use="required" /> |
64
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> |