1 <!ELEMENT dia:diagram (dia:diagramdata, (dia:layer)*)
>
3 xmlns:dia CDATA #FIXED
"http://www.lysator.liu.se/~alla/dia/">
5 <!ELEMENT dia:diagramdata (dia:attribute)*
>
7 <!ELEMENT dia:layer (dia:object | dia:group)*
>
10 visible (true|false) #REQUIRED
>
12 <!ELEMENT dia:object ((dia:attribute)*, dia:connections?)
>
15 version NMTOKEN #REQUIRED
18 <!ELEMENT dia:connections (dia:connection)*
>
20 <!ELEMENT dia:connection EMPTY
>
21 <!ATTLIST dia:connection
22 handle NMTOKEN #REQUIRED
24 connection NMTOKEN #REQUIRED
>
26 <!ELEMENT dia:group (dia:object | dia:group)*
>
28 <!ELEMENT dia:attribute (dia:composite | dia:int | dia:enum | dia:real |
29 dia:boolean | dia:color | dia:point | dia:rectangle |
30 dia:string | dia:font)*
>
31 <!ATTLIST dia:attribute name CDATA #REQUIRED
>
33 <!ELEMENT dia:composite (dia:attribute|dia:composite)*
>
34 <!ATTLIST dia:composite type CDATA #IMPLIED
>
36 <!ELEMENT dia:int EMPTY
>
37 <!ATTLIST dia:int val NMTOKEN #REQUIRED
>
39 <!ELEMENT dia:enum EMPTY
>
40 <!ATTLIST dia:enum val NMTOKEN #REQUIRED
>
42 <!ELEMENT dia:real EMPTY
>
43 <!ATTLIST dia:real val CDATA #REQUIRED
>
45 <!ELEMENT dia:boolean EMPTY
>
46 <!ATTLIST dia:boolean val (true|false) #REQUIRED
>
48 <!ELEMENT dia:color EMPTY
>
49 <!ATTLIST dia:color val CDATA #REQUIRED
>
51 <!ELEMENT dia:point EMPTY
>
52 <!ATTLIST dia:point val CDATA #REQUIRED
>
54 <!ELEMENT dia:rectangle EMPTY
>
55 <!ATTLIST dia:rectangle val CDATA #REQUIRED
>
57 <!ELEMENT dia:string (#PCDATA)
>
59 <!ELEMENT dia:font EMPTY
>
63 family CDATA #IMPLIED
>