742b5f9a7cda43cdb8a79cc45fd83ae3664292f1
[pspp] / detail-xml
1 visualization :=
2     extension?
3     userSource
4     (sourceVariable | derivedVariable)+
5     graph
6     labelFrame+
7     container?
8     style+
9     layerController?
10
11 extension :=
12
13 userSource :=
14
15  sourceVariable := extension* (format | stringFormat)?
16 derivedVariable := extension* (format | stringFormat valueMapEntry*)?
17
18 format := (affix+ | relabel)?
19 dateTimeFormat :=
20 numberFormat := affix?
21 stringFormat := (affix | relabel+)?
22 affix :=
23 relabel :=
24
25 valueMapEntry :=
26
27 graph := location+ coordinates faceting facetLayout interval
28
29 location :=
30
31 coordinates :=
32 faceting := cross layer*
33 interval := labeling footnotes?
34 labeling := (format | formatting | footnotes)*
35 formatting := formatMapping*
36 formatMapping := format
37 footnotes := footnoteMapping+
38 footnoteMapping :=
39
40 cross := nest+
41 nest := variableReference+
42 variableReference :=
43
44 facetLayout := tableLayout facetLevel+ setCellProperties*
45 tableLayout :=
46 facetLevel := axis
47
48 axis := label? majorTicks
49 label := descriptionGroup | text+
50 majorTicks := gridline?
51 gridline :=
52
53 descriptionGroup := description+ text
54 description :=
55 text := <text>
56 paragraph :=
57
58 setCellProperties := setMetadata setStyle* setFormat+ union?
59 setMetadata :=
60 setStyle :=
61 setFormat := dateTimeFormat | format | numberFormat | stringFormat+
62
63 labelFrame := location+ label paragraph?
64 container := extension? location+ labelFrame+
65
66 style :=
67
68 layer :=
69 layerController :=
70
71 union := intersect+
72 intersect := intersectWhere | where+
73 intersectWhere :=
74 where :=