* lib/text.h: Added text_get_line() declaration
[dia.git] / doc / diagram.dtd
blobf4b23276936ae9979bc1d9b0f4f0ad4d3d8919aa
1 <!ELEMENT dia:diagram (dia:diagramdata, (dia:layer)*) >
2 <!ATTLIST dia:diagram
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)*>
8 <!ATTLIST dia:layer
9 name CDATA #REQUIRED
10 visible (true|false) #REQUIRED >
12 <!ELEMENT dia:object ((dia:attribute)*, dia:connections?)>
13 <!ATTLIST dia:object
14 type CDATA #REQUIRED
15 version NMTOKEN #REQUIRED
16 id ID #REQUIRED >
18 <!ELEMENT dia:connections (dia:connection)*>
20 <!ELEMENT dia:connection EMPTY>
21 <!ATTLIST dia:connection
22 handle NMTOKEN #REQUIRED
23 to IDREF #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>
60 <!ATTLIST dia:font
61 name CDATA #REQUIRED
62 style CDATA #IMPLIED
63 family CDATA #IMPLIED>