TileMangler/resources/tmres.dtd

38 lines
1.3 KiB
DTD
Raw Permalink Normal View History

2021-02-02 22:23:26 +00:00
<?xml version="1.0" encoding="iso-8859-1"?>
<!ELEMENT tmres (bookmarks?, palettes?)>
<!ELEMENT bookmarks (folder | bookmark)*>
<!ELEMENT palettes (folder | palette)*>
<!ELEMENT folder (name, (folder | bookmark | palette)*)>
<!ELEMENT bookmark (description)>
<!ATTLIST bookmark
offset CDATA #REQUIRED
columns CDATA #REQUIRED
rows CDATA #REQUIRED
blockwidth CDATA #REQUIRED
blockheight CDATA #REQUIRED
rowinterleaved (true | false) #REQUIRED
sizeblocktocanvas (true | false) #REQUIRED
mode (1D | 2D) #REQUIRED
codec CDATA #REQUIRED
palIndex CDATA #REQUIRED
palette CDATA #IMPLIED
>
<!ELEMENT palette (description, data?)>
<!ATTLIST palette
id ID #IMPLIED
direct (yes | no) #REQUIRED
codec CDATA #REQUIRED
size CDATA #REQUIRED
offset CDATA #IMPLIED
endianness (little | big) "little"
>
<!ELEMENT data (#PCDATA)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT description (#PCDATA)>