Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 188 lines (151 sloc) 3.64 KB
<?xml version="1.0" encoding="utf-8"?>
<!--
LatticeCMS Backend Configuration File DTD
Revision: 0.1
Date: 2010/08/26
-->
<!ENTITY % uiattrs
"name CDATA #REQUIRED
label CDATA #IMPLIED
className CDATA #IMPLIED
default CDATA #IMPLIED"
>
<!ELEMENT configuration (clusters) >
<!ELEMENT clusters (objectType*) >
<!ELEMENT objectType ( elements?,addableObject*,components* ) >
<!ATTLIST objectType
name CDATA #REQUIRED
nodeType CDATA "object"
contentType CDATA "document"
allowDelete (true|false) "true"
allowTogglePublish (true|false) "true"
allowChildSort (true|false) "true"
sortDirection (ASC|DESC) "ASC"
allowTitleEdit CDATA "true"
pageLength CDATA "18"
initialAccessRoles CDATA #IMPLIED
>
<!ELEMENT elements (plantType|text|list|image|file|radioGroup|multiSelect|date|time|checkbox|time|associator|link|tags|pulldown)* >
<!ELEMENT components (component*) >
<!ELEMENT addableObject EMPTY >
<!ATTLIST addableObject
objectTypeName CDATA #REQUIRED
addText CDATA #IMPLIED
>
<!ELEMENT component ANY>
<!ATTLIST component
objectTypeName CDATA #REQUIRED
label CDATA #REQUIRED
>
<!ELEMENT list (addableObject*) >
<!ATTLIST list
name CDATA #REQUIRED
label CDATA #REQUIRED
display (inline|component) "inline"
allowChildSort (true|false) "true"
sortDirection (ASC|DESC) "ASC"
allowTogglePublish (true|false) "true"
contentType CDATA "document"
>
<!-- last two attributes currently not supported -->
<!ELEMENT pulldown (option)* >
<!ATTLIST pulldown
%uiattrs;
>
<!ELEMENT option EMPTY >
<!ATTLIST option
label CDATA #REQUIRED
value CDATA #REQUIRED
>
<!ELEMENT associator (filter*)>
<!ATTLIST associator
label CDATA #IMPLIED
poolLabel CDATA #IMPLIED
name CDATA #REQUIRED
lattice CDATA #REQUIRED
associatorType CDATA #IMPLIED
pageLength CDATA "18"
metaObjectTypeName CDATA #IMPLIED
>
<!ELEMENT filter EMPTY >
<!ATTLIST filter
from CDATA #IMPLIED
lattice CDATA #IMPLIED
objectTypeName CDATA #IMPLIED
tagged CDATA #IMPLIED
function CDATA #IMPLIED
>
<!ELEMENT text EMPTY >
<!ATTLIST text
%uiattrs;
tag CDATA "p"
isMultiline (true|false) "true"
>
<!ELEMENT image (resize|ext)* >
<!ATTLIST image
%uiattrs;
maxLength CDATA #IMPLIED
>
<!ELEMENT file (ext)* >
<!ATTLIST file
%uiattrs;
maxLength CDATA #IMPLIED
>
<!ELEMENT radioGroup (radio*) >
<!ATTLIST radioGroup
%uiattrs;
>
<!ELEMENT radio EMPTY >
<!ATTLIST radio
label CDATA #REQUIRED
value CDATA #REQUIRED
>
<!ELEMENT multiSelect EMPTY >
<!ATTLIST multiSelect
%uiattrs;
>
<!ELEMENT date EMPTY>
<!ATTLIST date
%uiattrs;
default (now|none) "none"
>
<!ELEMENT time EMPTY>
<!ATTLIST time
%uiattrs;
>
<!ELEMENT checkbox EMPTY>
<!ATTLIST checkbox
%uiattrs;
>
<!ELEMENT link EMPTY>
<!ATTLIST link
%uiattrs;
>
<!ELEMENT tags EMPTY >
<!ATTLIST tags
name CDATA "tags"
label CDATA #IMPLIED
className CDATA #IMPLIED
>
<!ELEMENT resize EMPTY >
<!ATTLIST resize
name CDATA #REQUIRED
width CDATA #REQUIRED
height CDATA #REQUIRED
forceDimension (width|height) #IMPLIED
crop (true|false) "false"
aspectFollowsOrientation (true|false) "false"
>
<!ELEMENT ext (#PCDATA) >
<!ELEMENT data (item*) >
<!ELEMENT item ANY >
<!ATTLIST item
objectTypeName CDATA #REQUIRED
>
<!ELEMENT content ANY >
<!ELEMENT title (CDATA) >
<!-- Extra entries for cluster.. could be added using inheritance somehow ? -->
<!ELEMENT plantType (plantType|text|list|image|file|radioGroup|multiSelect|date|time|checkbox|time|associator|link|tags|pulldown)* >
<!ATTLIST plantType
%uiattrs;
>