XLF XML Schema v2

IN PROGRESS
XLF files are transferred from the server to the client, and describe a specific layout. Each layout must contain at least one region, and each region must contain at least one media item for the layout to be considered valid.

                <xs:attribute name="zindex" type="xs:integer" use="required" default="0"/> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="schemaVersion" use="required" default="2"> <xs:simpleType> <xs:restriction base="xs:integer"> <xs:minInclusive value="2"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="width" type="xs:positiveInteger" use="required"/> <xs:attribute name="height" type="xs:positiveInteger" use="required"/> <xs:attribute name="bgcolor" use="required" default="#000000"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:pattern value="#([0-9]|[a-f]|[A-F]){6}"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="background" type="xs:string"/> </xs:complexType> </xs:element> </xs:schema>

Example XML Output

<?xml version="1.0"?> <layout schemaVersion="2" width="800" height="500" background="126.jpg" bgcolor="#FF3399"> <region id="47c57368964c6" width="448" height="336" top="112" left="34" zindex="1"> <region id="47c573727bc65" width="223" height="396" top="56" left="524" zindex="2"> <region id="47da3fa9473b6" width="803" height="29" top="473" left="-1" zindex="3">