-
Notifications
You must be signed in to change notification settings - Fork 22
/
config.rng
919 lines (911 loc) · 45.8 KB
/
config.rng
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
<?xml version="1.0" encoding="utf-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
<a:documentation>A schema describing KonText main configuration file</a:documentation>
<define name="plugin_common">
<element name="module">
<text />
</element>
<optional>
<element name="js_module">
<text />
</element>
</optional>
<optional>
<element name="conf_path">
<text />
</element>
</optional>
</define>
<define name="customSimpleElement">
<a:documentation>An atomic configuration element representing a key=>value pair.</a:documentation>
<element>
<anyName/>
<!-- for legacy reasons - optional must be here; oterwise we prefer
'extension-by' to be always present -->
<optional>
<attribute name="extension-by">
<text />
</attribute>
</optional>
<text />
</element>
</define>
<define name="customArrayElement">
<a:documentation>An element containing a list of atomic configuration elements</a:documentation>
<element>
<anyName />
<!-- for legacy reasons - optional must be here; oterwise we prefer
'extension-by' to be always present -->
<optional>
<attribute name="extension-by">
<text />
</attribute>
</optional>
<oneOrMore>
<element>
<anyName />
<text />
</element>
</oneOrMore>
</element>
</define>
<define name="customPluginConfiguration">
<a:documentation>Non-core configuration of a plug-in. Each plug-in should come with its
custom config.rng file to validate its configuration subtree.</a:documentation>
<zeroOrMore>
<choice>
<ref name="customSimpleElement" />
<ref name="customArrayElement" />
</choice>
</zeroOrMore>
</define>
<define name="boolValues">
<choice>
<value>false</value>
<value>true</value>
<value>0</value>
<value>1</value>
</choice>
</define>
<start>
<element name="kontext">
<optional>
<element name="theme">
<a:documentation>Optional visual theme configuration</a:documentation>
<interleave>
<element name="name">
<a:documentation>Theme identifier</a:documentation>
<text />
</element>
<element name="css">
<choice>
<text />
<oneOrMore>
<element name="item">
<text />
</element>
</oneOrMore>
</choice>
</element>
<optional>
<element name="css_mobile">
<choice>
<text />
<oneOrMore>
<element name="item">
<text />
</element>
</oneOrMore>
</choice>
</element>
</optional>
<element name="logo">
<a:documentation>Path to a logo</a:documentation>
<text />
</element>
<element name="logo_mouseover">
<a:documentation>Path to a logo (mouseover variant)</a:documentation>
<text />
</element>
<element name="logo_href">
<a:documentation>Logo link activated on click</a:documentation>
<text />
</element>
<element name="logo_inline_css">
<a:documentation>custom inline logo CSS (e.g. width &amp; height)</a:documentation>
<text />
</element>
<optional>
<element name="fonts">
<a:documentation>Custom theme fonts URLs</a:documentation>
<choice>
<oneOrMore>
<element name="item">
<text />
</element>
</oneOrMore>
<text />
</choice>
</element>
</optional>
<optional>
<element name="favicon">
<a:documentation>Favicon file name (not a full path)</a:documentation>
<text />
</element>
<element name="favicon_type">
<a:documentation>a proper mime type for the icon (e.g. image/x-icon)</a:documentation>
<text />
</element>
</optional>
</interleave>
<zeroOrMore>
<element>
<anyName />
<attribute name="extension-by">
<text />
</attribute>
<choice>
<text />
<zeroOrMore>
<element name="item">
<text />
</element>
</zeroOrMore>
</choice>
</element>
</zeroOrMore>
</element>
</optional>
<element name="global">
<a:documentation>Main configuration section</a:documentation>
<interleave>
<optional>
<element name="deployment_id">
<a:documentation>an identifier to modify static files URLs to flush browser cache</a:documentation>
<text />
</element>
</optional>
<element name="manatee_path">
<a:documentation>a path to Manatee Python libs (empty value is OK too)</a:documentation>
<text />
</element>
<optional>
<element name="umask">
<a:documentation>An optional umask used when creating new files. Sometimes this is
configured externally (e.g. Apache + mod_wsgi).</a:documentation>
<text />
</element>
</optional>
<element name="user_filter_files_dir">
<a:documentation>The path to the user filter data files (e.g. black/whitelists for the
wordlist view)</a:documentation>
<text />
</element>
<element name="debug">
<a:documentation>Debugging mode: 0/false = no debugging,
1/true = standard debugging, 2 = debugging + profiling information (slowest)
</a:documentation>
<choice>
<value>false</value>
<value>true</value>
<value>0</value>
<value>1</value>
<value>2</value>
</choice>
</element>
<optional>
<element name="integration_testing_env">
<a:documentation>
If true/1 then KonText adds some support for integration
testing automation to make some hard to perform actions
easier or avoid them completely (e.g. menu naviation without
mouseover).
</a:documentation>
<ref name="boolValues" />
</element>
</optional>
<optional>
<element name="profile_log_path">
<a:documentation>Path to a file where profiling information is stored
(applies only if debug is 2)</a:documentation>
<text />
</element>
</optional>
<element name="maintenance">
<a:documentation>Switches KonText into a special mode when only a static page
is presented to a user and all the plug-in dependencies are disabled (i.e.
it should work even if KonText components are down).</a:documentation>
<ref name="boolValues" />
</element>
<element name="max_attr_list_size">
<a:documentation>Defines a maximum number of items in the checkbox table
in the text types component</a:documentation>
<data type="integer" />
</element>
<element name="translations">
<a:documentation>Languages activated in user interface (use [language]_[region]
format, e.g. en_US)
</a:documentation>
<oneOrMore>
<element name="language">
<attribute name="label">
<text />
</attribute>
<optional>
<attribute name="local">
<ref name="boolValues" />
</attribute>
</optional>
<data type="language" />
</element>
</oneOrMore>
</element>
<element name="jwt_secret">
<text />
</element>
<optional>
<element name="jwt_ttl_secs">
<data type="positiveInteger" />
<a:documentation>
Default value is 3600 (= 1 hour).
Number of seconds a single jwt token should be valid. Please note that during normal
operation, each time server responds, it updates JWT's 'exp' value which effectively
generates new token. So by using always the most recent token and keeping the time
between requests smaller than this config. value, user may access KonText
indefinitely. By contrast - using a single token will be always limited by this value.
</a:documentation>
</element>
</optional>
<element name="upload_cache_dir">
<a:documentation>A path where uploaded file (e.g. pos./neg. filter words)
are temporarily stored before being processed</a:documentation>
<text />
</element>
<optional>
<element name="conc_line_max_group_num">
<a:documentation>defines possible numbers from 0 to the one defined here
which can be used when manually grouping concordance lines</a:documentation>
<data type="integer" />
</element>
</optional>
<element name="action_path_prefix">
<a:documentation>A prefix for action URLs (e.g. /apps/kontext). This can be used
to solve issues regarding apps installed in URL sub-directories</a:documentation>
<text />
</element>
<optional>
<element name="http_host">
<text />
<a:documentation>A custom HTTP host value replacing request environment HTTP_HOST
in case one cannot rely on that (e.g. behind some proxy configurations)</a:documentation>
</element>
</optional>
<element name="static_files_prefix">
<a:documentation>A prefix for static files (typically: /files when installed at the root)</a:documentation>
<text />
</element>
<optional>
<element name="cookie_path_prefix">
<a:documentation>A path used for cookies, `/` by
default.</a:documentation>
<text />
</element>
</optional>
<element name="use_conc_toolbar">
<a:documentation>If true then a special toolbar allowing easier setting of
common concordance view options is shown</a:documentation>
<ref name="boolValues" />
</element>
<element name="anonymous_user_conc_login_prompt">
<a:documentation>If true then for anonymous user, on concordance page a prompt to log-in always appears</a:documentation>
<ref name="boolValues" />
</element>
<optional>
<element name="shuffle_min_result_warning">
<data type="integer" />
<a:documentation>Specifies a result size at which a warning about long
processing time pops-up when applying *shuffle*</a:documentation>
</element>
</optional>
<optional>
<element name="shuffle_conc_by_default">
<ref name="boolValues" />
<a:documentation>If true then concordance will be shuffled by default (user can change
this in his/her settings). By default this is set to false.
</a:documentation>
</element>
</optional>
<optional>
<element name="help_links_path">
<text />
<a:documentation>A path to a JSON file containing terms and custom idents used
throughout the application as hooks for adding links to external sites containing
more info about specific piece (typically, a term, abbreviation etc.). See
sample config for more info.</a:documentation>
</element>
</optional>
<element name="conc_dashboard_modules">
<zeroOrMore>
<element name="item">
<choice>
<value>freqs</value>
</choice>
</element>
</zeroOrMore>
</element>
<optional>
<element name="template_engine_cache_path">
<text />
<a:documentation>A filesystem path to a directory where Jinja2 can store compiled
templates. This improves 'first load' time.</a:documentation>
</element>
</optional>
<optional>
<element name="cookies_same_site">
<a:documentation>Set same site cookie strategy</a:documentation>
<choice>
<value>Lax</value>
<value>Strict</value>
</choice>
</element>
</optional>
<optional>
<element name="legacy_support">
<a:documentation>Apply functions for converting older formats (e.g. persistent concordance
parameters) to newer ones. This always relates to the latest release vs supported older
ones.</a:documentation>
<ref name="boolValues" />
</element>
</optional>
<optional>
<element name="redirect_safe_domains">
<a:documentation>
Domains allowed to redirect to
</a:documentation>
<oneOrMore>
<element name="domain">
<data type="anyURI" />
</element>
</oneOrMore>
</element>
</optional>
<optional>
<element name="no_anonymous_access">
<ref name="boolValues" />
<a:documentation>Nothing will be accessible without login if set to true.
Usefull for API instance.</a:documentation>
</element>
</optional>
<optional>
<element name="http_client_timeout_secs">
<data type="nonNegativeInteger" />
<a:documentation>
For many data integration tasks, KonText and its plug-ins use internal HTTP client.
This configuration specifies how many seconds should the client wait for responses.
Please note that the value may have no effect in case HTTP server defines shorter
timeouts.
</a:documentation>
</element>
</optional>
<optional>
<element name="enabled_websockets">
<ref name="boolValues" />
</element>
</optional>
<optional>
<element name="csp_domains">
<a:documentation>
Whitelisted resources domains
</a:documentation>
<oneOrMore>
<element name="domain">
<data type="anyURI" />
</element>
</oneOrMore>
</element>
</optional>
<optional>
<element name="preflight_query_timeout_ms">
<a:documentation>
For preflight queries, this speicifies how long KonText client-side waits
for the query. In case it is not finished in the limit, the client will
consider the query a "long one" and warn user accordingly.
</a:documentation>
<data type="nonNegativeInteger" />
</element>
</optional>
</interleave>
</element>
<element name="calc_backend">
<a:documentation>Selects a backend used to calculate miscellaneous task in the background</a:documentation>
<interleave>
<element name="type">
<choice>
<value>rq</value>
<value>celery</value>
</choice>
</element>
<optional>
<element name="task_time_limit">
<data type="nonNegativeInteger" />
</element>
</optional>
<optional>
<choice>
<element name="conf">
<text />
</element>
<group>
<element name="celery_broker_url">
<data type="anyURI" />
</element>
<element name="celery_result_backend">
<data type="anyURI" />
</element>
<element name="celery_task_serializer">
<choice>
<value>json</value>
</choice>
</element>
<element name="celery_result_serializer">
<choice>
<value>json</value>
</choice>
</element>
<element name="celery_accept_content">
<oneOrMore>
<element name="item">
<choice>
<value>json</value>
</choice>
</element>
</oneOrMore>
</element>
<element name="celery_timezone">
<text />
</element>
</group>
<group>
<element name="rq_redis_host">
<text />
</element>
<element name="rq_redis_port">
<data type="positiveInteger" />
</element>
<element name="rq_redis_db">
<data type="positiveInteger" />
</element>
<element name="rq_log_path">
<text />
</element>
</group>
</choice>
</optional>
</interleave>
</element>
<element name="job_scheduler">
<a:documentation>Configures Celery beat (or possibly other scheduler). This is not needed if
respective plug-ins support scripts are run by Cron</a:documentation>
<interleave>
<element name="type">
<text />
</element>
<element name="conf">
<text />
</element>
</interleave>
</element>
<optional>
<element name="mailing">
<interleave>
<element name="smtp_server">
<text />
</element>
<element name="smtp_port">
<a:documentation>
Typically, one of 25, 465, 587 is used.
</a:documentation>
<data type="positiveInteger" />
</element>
<element name="use_tls">
<ref name="boolValues" />
</element>
<element name="sender">
<text />
</element>
<optional>
<element name="auth_username">
<text />
</element>
<element name="auth_password">
<text />
</element>
</optional>
</interleave>
</element>
</optional>
<element name="logging">
<choice>
<element name="stdout">
<a:documentation>
Logging to stdout. Useful e.g. when running within a Docker container.
</a:documentation>
<empty />
</element>
<element name="stderr">
<a:documentation>
Logging to stderr. Useful e.g. when running within a Docker container.
</a:documentation>
<empty />
</element>
<interleave>
<element name="path">
<a:documentation>Path to KonText application log. A Python formatting string with 'pid' key can
be used to create a file with pid in its name (e.g. my_log_{pid}.log).</a:documentation>
<text />
</element>
<element name="file_size">
<a:documentation>Maximum size of a log file (log rotation). Default is 8MB</a:documentation>
<data type="integer" />
</element>
<element name="num_files">
<a:documentation>Maximum number of log files (log rotation). Default is 10</a:documentation>
<data type="positiveInteger" />
</element>
</interleave>
</choice>
</element>
<element name="corpora">
<interleave>
<element name="manatee_registry">
<a:documentation>A directory where Manatee registry files are located.
This one is very important.</a:documentation>
<text />
</element>
<optional>
<element name="manatee_registry_locale">
<a:documentation>A language used in corpora registry files for labels etc. This
allows KonText to warn user with a different UI language that a specific text (e.g.
a corpus description) is not available translated.</a:documentation>
<text />
</element>
</optional>
<element name="subcorpora_dir">
<a:documentation>A directory where user subcorpora are stored</a:documentation>
<text />
</element>
<element name="conc_dir">
<!-- TODO -->
<a:documentation>???</a:documentation>
<text />
</element>
<element name="freqs_precalc_dir">
<a:documentation>A directory where precalculated data related to frequency
information is stored</a:documentation>
<text />
</element>
<element name="freqs_cache_dir">
<a:documentation>A directory where temporary user frequency results are stored
to optimize pagination</a:documentation>
<text />
</element>
<element name="freqs_cache_ttl">
<a:documentation>Number of seconds cached files for the freq. distribution page
remain available. This also depends on how often a respective clean-up procedure runs.
</a:documentation>
<data type="integer" />
</element>
<element name="freqs_cache_min_lines">
<a:documentation>Specifies a minimum number of items frequency data must contain to
be cacheable.</a:documentation>
<data type="integer" />
</element>
<element name="colls_cache_dir">
<text />
</element>
<element name="colls_cache_ttl">
<a:documentation>Number of seconds cached files for the collocations page page
remain available. This also depends on how often a respective clean-up procedure runs.
</a:documentation>
<data type="nonNegativeInteger" />
</element>
<element name="default_corpora">
<a:documentation>Specifies a default corpous to be offered to a user
in case she does not specify anything. A list can be used to define
some fallback items (e.g. some users may not have the permissions to
access 1st corpus but they can use 2nd etc.).</a:documentation>
<oneOrMore>
<element name="item">
<text />
</element>
</oneOrMore>
</element>
<element name="speech_files_path">
<a:documentation>A directory where sound files for individual corpora
are stored.</a:documentation>
<text />
</element>
<element name="empty_attr_value_placeholder">
<a:documentation>A placeholder used to represent empty value in text type
attribute values</a:documentation>
<text />
</element>
<element name="multilevel_freq_dist_max_levels">
<a:documentation>Multilevel frequency distribution - max. number of levels</a:documentation>
<data type="integer" />
</element>
<optional>
<element name="right_interval_char">
<a:documentation>A character used to denote a left interval (e.g. -10)</a:documentation>
<text />
</element>
<element name="left_interval_char">
<a:documentation>A character used to denote a left interval (e.g. +10)</a:documentation>
<text />
</element>
<element name="interval_char">
<a:documentation>A character used to denote a left interval (e.g. +/-10)</a:documentation>
<text />
</element>
</optional>
</interleave>
</element>
<element name="fcs">
<interleave>
<element name="database_title">
<text />
</element>
<element name="database_description">
<text />
</element>
<optional>
<element name="search_attributes">
<oneOrMore>
<element name="item">
<a:documentation>A positional attribute used for search. A list of
possible candidates is expected to satisfy any installed corpus.
From these candidates, first applicable value is always used.
</a:documentation>
<text />
</element>
</oneOrMore>
</element>
</optional>
<optional>
<element name="kwic_context">
<a:documentation>KWIC context for left and right size. Please note that registry file
defined MAXCONTEXT limits max value of kwic_context.</a:documentation>
<data type="positiveInteger" />
</element>
</optional>
<element name="corpora">
<oneOrMore>
<element name="item">
<text />
</element>
</oneOrMore>
</element>
</interleave>
</element>
<element name="plugins">
<interleave>
<element name="db">
<a:documentation>Main key=>value storage configuration</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</element>
<element name="integration_db">
<a:documentation>A plugin providing connection to an existing database KonText needs to
be integrated with. Typically - corparch, query_persistence, auth plug-ins may support
integration db which allows configuring and utilizing a single connection (pool) instead
of using multiple similar connections and configurations.</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</element>
<element name="action_log">
<a:documentation>Action logging module</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</element>
<element name="auth">
<a:documentation>Authentication plug-in configuration</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</element>
<element name="application_bar">
<optional>
<a:documentation>An optional plug-in proving 3rd party HTML code
inserted into KonText pages (e.g. an application switch &
authentication module)</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="footer_bar">
<optional>
<a:documentation>An optional plug-in proving custom HTML code
for page footer</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="getlang">
<optional>
<a:documentation>A plug-in to detect user language</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="query_history">
<a:documentation>A plug-in for storing current queries for later retrieval</a:documentation>
<element name="module">
<text />
</element>
<element name="page_num_records">
<data type="integer" />
</element>
<ref name="customPluginConfiguration" />
</element>
<element name="query_suggest">
<optional>
<a:documentation>A plug-in for providing misc. help based on the current query and
available backends (Manatee, HTTP,...)</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="query_persistence">
<a:documentation>Storing (possibly long) queries under a simple code</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</element>
<element name="conc_cache">
<a:documentation>Path to a directory where cached concordances are stored
(this typically requires quite a lot of space and some regular clean-up)</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</element>
<element name="settings_storage">
<a:documentation>A plug-in to store and retrieve user settings</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</element>
<element name="corparch">
<a:documentation>A plug-in for searching available corpora</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</element>
<element name="live_attributes">
<optional>
<a:documentation>Interactive text types selection</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="export">
<a:documentation>Dataset export modules</a:documentation>
<interleave>
<optional>
<element name="csv">
<text />
</element>
</optional>
<optional>
<element name="xlsx">
<text />
</element>
</optional>
<optional>
<element name="xml">
<text />
</element>
</optional>
</interleave>
<zeroOrMore>
<element>
<anyName />
<text />
</element>
</zeroOrMore>
</element>
<element name="subc_storage">
<optional>
<a:documentation>Storage backend for subcorpora</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="taghelper">
<a:documentation>An interactive builder of positional tags</a:documentation>
<optional>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="user_items">
<a:documentation>User favorite items (this is coupled with "corparch" plug-in)</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</element>
<element name="menu_items">
<a:documentation>Handles custom menu items</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</element>
<element name="audio_provider">
<a:documentation>Handles providing spoken corpora audio data in a form readable by browser</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</element>
<element name="subcmixer">
<optional>
<a:documentation>Generates subcorpora with defined text type ratios (experimental)</a:documentation>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="syntax_viewer">
<optional>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="chart_export">
<optional>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="issue_reporting">
<optional>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="token_connect">
<optional>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="kwic_connect">
<optional>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="tokens_linking">
<optional>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="export_freq2d">
<interleave>
<optional>
<element name="xlsx">
<text />
</element>
</optional>
</interleave>
</element>
<element name="dispatch_hook">
<optional>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
<element name="backlinks">
<optional>
<ref name="plugin_common" />
<ref name="customPluginConfiguration" />
</optional>
</element>
</interleave>
</element>
</element>
</start>
</grammar>