File: gcrystal.dtd

package info (click to toggle)
gnome-chemistry-utils 0.14.9-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 17,836 kB
  • ctags: 7,337
  • sloc: cpp: 72,977; sh: 11,381; xml: 6,304; makefile: 1,663; ansic: 1,061
file content (66 lines) | stat: -rw-r--r-- 1,423 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!-- DTD for Gnome Crystal 0.6 documents-->

<!-- Root node -->
<!ELEMENT crystal (generator, lattice, cell, size, atom+, line*, cleavage*, view+)>

<!ELEMENT generator (#PCDATA)>
<!ELEMENT lattice (#PCDATA)>

<!ATTLIST cell
  a		CDATA	#REQUIRED
  b		CDATA	#REQUIRED
  c		CDATA	#REQUIRED
  alpha	CDATA	#REQUIRED
  beta	CDATA	#REQUIRED
  gamma	CDATA	#REQUIRED
>
<!ELEMENT cell EMPTY>
<!ELEMENT size (position,position)> <!-- One of the position must have id="start" and the other "id=end" -->

<!ATTLIST atom
  id		NMTOKEN	#IMPLIED
  element	NMTOKEN	#REQUIRED
>

<!ELEMENT atom (position, radius, color?)>
<!ELEMENT line ((position, position)?, radius, color)>
<!ELEMENT cleavage EMPTY>
<!ELEMENT view (orientation, fov, color)> <!-- color should have id="background" -->

<!ATTLIST position
  id	NMTOKEN #IMPLIED
  x		CDATA	#REQUIRED
  y		CDATA	#REQUIRED
  z		CDATA	#REQUIRED
>
<!ELEMENT position EMPTY>
<!ELEMENT radius (#PCDATA)>

<!ATTLIST color
  id	NMTOKEN #IMPLIED
  red	CDATA	#REQUIRED
  green	CDATA	#REQUIRED
  blue	CDATA	#REQUIRED
  alpha	CDATA	#IMPLIED
>
<!ELEMENT color EMPTY>

<!ATTLIST orientation
  psi	CDATA	#REQUIRED
  theta	CDATA	#REQUIRED
  phi	CDATA	#REQUIRED
>
<!ELEMENT orientation EMPTY>
<!ELEMENT fov (#PCDATA)>
<!ELEMENT background (#PCDATA)>

<!ATTLIST line
  type	NMTOKEN	#REQUIRED
>

<!ATTLIST cleavage
  h			CDATA #REQUIRED
  k			CDATA #REQUIRED
  l			CDATA #REQUIRED
  planes	CDATA #REQUIRED
>