summaryrefslogtreecommitdiff
path: root/sandbox/mallard/spec/mal_list.xml
blob: 0a62d3f04b6e927f27d91503d7b48e6b404076f1 (plain)
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
67
68
69
70
<topic xmlns="http://www.gnome.org/~shaunm/mallard"
       id="mal_list">
<info>
  <link type="guide" xref="mal_block#containers"/>
</info>

<title>Lists</title>

<synopsis><code mime="application/relax-ng-compact-syntax">
mal_list = (
  <link xref="#bullet">mal_list_bullet</link>     |
  <link xref="#numbered">mal_list_numbered</link>   |
  <link xref="#definition">mal_list_definition</link> )
</code></synopsis>

<comment>
  <cite><name>Shaun McCance</name><date>2007-01-30</date></cite>
  <p>Add explanation, examples, processing expectations</p>
</comment>


<!-- BEGIN bullet -->
<section id="bullet">
<title>Bullet Lists</title>

<synopsis><code mime="application/relax-ng-compact-syntax">
mal_list_bullet = element_list {
  attribute type { "bullet" } ?,
  attribute style { text } ?,
  element item {
    <link xref="mal_block#simple">mal_block_simple</link> +
  } +
}</code></synopsis>
</section>
<!-- END bullet -->


<!-- BEGIN numbered -->
<section id="numberd">
<title>Numbered Lists</title>

<synopsis><code mime="application/relax-ng-compact-syntax">
mal_list_numbered = element_list {
  attribute type { "numbered" },
  attribute style { text } ?,
  element item {
    <link xref="mal_block#simple">mal_block_simple</link> +
  } +
}</code></synopsis>
</section>
<!-- END numbered -->


<!-- BEGIN definition -->
<section id="definition">
<title>Definition Lists</title>

<synopsis><code mime="application/relax-ng-compact-syntax">
mal_list_definition = element_list {
  attribute type { "definition" },
  attribute style { text } ?,
  element item {
    <link xref="mal_title">mal_title</link> +,
    <link xref="mal_block#simple">mal_block_simple</link> +
  } +
}</code></synopsis>
</section>
<!-- END definition -->

</topic>