Differences

This shows you the differences between two versions of the page.

Link to this comparison view

walktreedtd [2009/11/27 16:59] (current)
Line 1: Line 1:
 +======DTD documentation======
 +<code xml>
 +<?xml version="​1.0"​ encoding="​ISO-8859-1"?>​
 +<!-- map.dtd -->
 +<​!ELEMENT sourceList (table | sql)+>
 +<​!ATTLIST sourceList
 +          application CDATA        #IMPLIED
 +          updateable ​ (true|false) #IMPLIED
 +   >
  
 +<​!ELEMENT table (columnList?,​ referenceList?,​ styleList?, taskList?, userfilter? )>
 +<​!ATTLIST table
 +          name  CDATA       #REQUIRED
 +   key   CDATA       #REQUIRED
 +   label CDATA       #IMPLIED
 +   root (true|false) ​  #​IMPLIED
 +   updateable (true|false) ​ #IMPLIED
 +   >
 +
 +<​!ELEMENT sql (select, referenceList?,​ styleList?, taskList?, userfilter? )>
 +<​!ATTLIST sql
 +          name  CDATA       #REQUIRED
 +   key   CDATA       #REQUIRED
 +   label CDATA       #IMPLIED
 +   root (true|false) ​  #​IMPLIED
 +   updateable (true|false) ​ '​false'​
 +   >
 +<​!ELEMENT select (#PCDATA) >
 +<​!ATTLIST select ​ xml:space (default|preserve) '​preserve'>​
 +
 +<​!ELEMENT columnList (column+)>​
 +<​!ELEMENT column EMPTY>
 +<​!ATTLIST column
 +          name  CDATA         #​REQUIRED
 +   >
 +
 +<​!ELEMENT taskList (taskList|task+)>​
 +<​!ATTLIST taskList
 +          name  CDATA         #​IMPLIED
 +   >
 +
 +<​!ELEMENT task (#​PCDATA)>​
 +<​!ATTLIST task
 +          name  CDATA         #​REQUIRED
 +   xml:space (default|preserve) '​preserve'​
 +   >
 +
 +<​!ELEMENT referenceList (if|reference)+>​
 +
 +<​!ELEMENT reference (#​PCDATA)>​
 +<​!ATTLIST reference ​
 +          linkto CDATA        #REQUIRED
 +   type (column|where) #REQUIRED
 +          label  CDATA        #IMPLIED
 +   xml:space (default|preserve) '​preserve'​
 +   >
 +
 +<​!ELEMENT styleList (style+)>​
 +
 +<​!ELEMENT style EMPTY>
 +<​!ATTLIST style
 +          name    CDATA       #​REQUIRED
 +   display CDATA       #​REQUIRED
 +   orderby CDATA       #​IMPLIED
 +   >
 +
 +<​!ELEMENT if (if|reference+)>​
 +<​!ATTLIST if
 +          cond    CDATA       #​REQUIRED
 +   >
 +
 +<​!ELEMENT userfilter (#​PCDATA)>​
 +</​code>​