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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Text.Pandoc.XMLFormat
( atNameAlignment,
atNameApiVersion,
atNameCitationHash,
atNameCitationMode,
atNameCitationNoteNum,
atNameColspan,
atNameColWidth,
atNameFormat,
atNameImageUrl,
atNameLevel,
atNameLinkUrl,
atNameMathType,
atNameMetaBoolValue,
atNameMetaMapEntryKey,
atNameNumberDelim,
atNameNumberStyle,
atNameQuoteType,
atNameRowHeadColumns,
atNameRowspan,
atNameSpaceCount,
atNameStart,
atNameStrContent,
atNameTitle,
tgNameBodyBody,
tgNameBodyHeader,
tgNameCitations,
tgNameCitationPrefix,
tgNameCitationSuffix,
tgNameColspecs,
tgNameDefListDef,
tgNameDefListItem,
tgNameDefListTerm,
tgNameLineItem,
tgNameListItem,
tgNameMetaMapEntry,
tgNameShortCaption,
)
where
import Data.Text (Text)
-- the attribute carrying the API version of pandoc types in the main Pandoc element
atNameApiVersion :: Text
atNameApiVersion = "api-version"
-- the element of a <meta> or <MetaMap> entry
tgNameMetaMapEntry :: Text
tgNameMetaMapEntry = "entry"
-- the attribute carrying the key name of a <meta> or <MetaMap> entry
atNameMetaMapEntryKey :: Text
atNameMetaMapEntryKey = "key"
-- the attribute carrying the boolean value ("true" or "false") of a MetaBool
atNameMetaBoolValue :: Text
atNameMetaBoolValue = "value"
-- level of a Header
atNameLevel :: Text
atNameLevel = "level"
-- start number of an OrderedList
atNameStart :: Text
atNameStart = "start"
-- number delimiter of an OrderedList
atNameNumberDelim :: Text
atNameNumberDelim = "number-delim"
-- number style of an OrderedList
atNameNumberStyle :: Text
atNameNumberStyle = "number-style"
-- target title in Image and Link
atNameTitle :: Text
atNameTitle = "title"
-- target url in Image
atNameImageUrl :: Text
atNameImageUrl = "src"
-- target url in Link
atNameLinkUrl :: Text
atNameLinkUrl = "href"
-- QuoteType of a Quoted
atNameQuoteType :: Text
atNameQuoteType = "quote-type"
-- MathType of a Math
atNameMathType :: Text
atNameMathType = "math-type"
-- format of a RawInline or a RawBlock
atNameFormat :: Text
atNameFormat = "format"
-- alignment attribute in a ColSpec or in a Cell
atNameAlignment :: Text
atNameAlignment = "alignment"
-- ColWidth attribute in a ColSpec
atNameColWidth :: Text
atNameColWidth = "col-width"
-- RowHeadColumns attribute in a TableBody
atNameRowHeadColumns :: Text
atNameRowHeadColumns = "row-head-columns"
-- RowSpan attribute in a Cell
atNameRowspan :: Text
atNameRowspan = "row-span"
-- ColSpan attribute in a Cell
atNameColspan :: Text
atNameColspan = "col-span"
-- the citationMode of a Citation
atNameCitationMode :: Text
atNameCitationMode = "mode"
-- the citationHash of a Citation
atNameCitationHash :: Text
atNameCitationHash = "hash"
-- the citationNoteNum of a Citation
atNameCitationNoteNum :: Text
atNameCitationNoteNum = "note-num"
-- the number of consecutive spaces of the <Space> element
atNameSpaceCount :: Text
atNameSpaceCount = "count"
-- the content of the <Str> element
atNameStrContent :: Text
atNameStrContent = "content"
-- container of Citation elements in Cite inlines
tgNameCitations :: Text
tgNameCitations = "citations"
-- element around the prefix inlines of a Citation
tgNameCitationPrefix :: Text
tgNameCitationPrefix = "prefix"
-- element around the suffix inlines of a Citation
tgNameCitationSuffix :: Text
tgNameCitationSuffix = "suffix"
-- list item for BulletList and OrderedList
tgNameListItem :: Text
tgNameListItem = "item"
-- list item for DefinitionList
tgNameDefListItem :: Text
tgNameDefListItem = "item"
-- element around the inlines of the term of a DefinitionList item
tgNameDefListTerm :: Text
tgNameDefListTerm = "term"
-- element around the blocks of a definition in a DefinitionList item
tgNameDefListDef :: Text
tgNameDefListDef = "def"
-- optional element of the ShortCaption
tgNameShortCaption :: Text
tgNameShortCaption = "ShortCaption"
-- element around the ColSpec of a Table
tgNameColspecs :: Text
tgNameColspecs = "colspecs"
-- element around the header rows of a TableBody
tgNameBodyHeader :: Text
tgNameBodyHeader = "header"
-- element around the body rows of a TableBody
tgNameBodyBody :: Text
tgNameBodyBody = "body"
-- element around the inlines of a line in a LineBlock
tgNameLineItem :: Text
tgNameLineItem = "line"
|