view 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
line wrap: on
line source

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ibboard.co.uk/translation" xmlns="http://ibboard.co.uk/translation" elementFormDefault="qualified">
<xs:complexType name="translationtype">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="id" type="xs:ID" use="required" />
      </xs:extension>
    </xs:simpleContent>
</xs:complexType>
<xs:element name="translations">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="translation" minOccurs="0" maxOccurs="unbounded" type="translationtype"/>
    </xs:sequence>
    <xs:attribute name="lang" type="xs:string" use="required"/>
    <xs:attribute name="extends" type="xs:string" default=""/>
  </xs:complexType>
</xs:element>
</xs:schema>