Project

Profile

Help

How to connect?
Download (21.9 KB) Statistics
| Branch: | Revision:

he / tools / featureKeys / AdditionalFeatures.xml @ 2699858e

1
<?xml version="1.0" encoding="UTF-8"?>
2
<features>
3
    <config-element name="global" src-doc="FeatureKeys.xml"/>
4
    <config-element name="xslt" src-doc="FeatureKeys.xml"/>
5
    <config-element name="extensionElement" src-doc="AdditionalFeatures.xml"/>
6
    <config-element name="package" src-doc="AdditionalFeatures.xml"/>
7
    <config-element name="withParam" src-doc="AdditionalFeatures.xml"/>
8
    <config-element name="xquery" src-doc="FeatureKeys.xml"/>
9
    <config-element name="xsd" src-doc="FeatureKeys.xml"/>
10
    <config-element name="serialization" src-doc="AdditionalFeatures.xml"/>
11
    <config-element name="resources" src-doc="AdditionalFeatures.xml"/>
12
    <config-element name="fileExtension" src-doc="AdditionalFeatures.xml"/>
13
    <config-element name="collation" src-doc="AdditionalFeatures.xml"/>
14
    <config-element name="localization" src-doc="AdditionalFeatures.xml"/>
15
    
16
    <feature>
17
        <configfile>serialization/@allow-duplicate-names</configfile>
18
        <type>yes|no</type>
19
        <editions>HE PE EE</editions>
20
        <configfiledesc>
21
            <p>Used only for JSON output. Determines whether duplicate keys with the
22
                same string value are allowed in a JSON map; if not an error is raised.</p>
23
        </configfiledesc>
24
    </feature>
25
    <feature>
26
        <configfile>serialization/@byte-order-mark</configfile>
27
        <type>yes|no</type>
28
        <editions>HE PE EE</editions>
29
        <configfiledesc>
30
            <p>Indicates whether serialized output should include a byte order mark.</p>
31
        </configfiledesc>
32
    </feature>
33
    <feature>
34
        <configfile>serialization/@cdata-section-elements</configfile>
35
        <type>A space-separated list of QNames</type>
36
        <editions>HE PE EE</editions>
37
        <configfiledesc>
38
            <p>A list of element names whose content is to be serialized using CDATA sections.</p>
39
        </configfiledesc>
40
    </feature>
41
    <feature>
42
        <configfile>serialization/@doctype-public</configfile>
43
        <type>xs:string</type>
44
        <editions>HE PE EE</editions>
45
        <configfiledesc>
46
            <p>The public identifier to be used in the DOCTYPE declaration.</p>
47
        </configfiledesc>
48
    </feature>
49
    <feature>
50
        <configfile>serialization/@doctype-system</configfile>
51
        <type>xs:anyURI</type>
52
        <editions>HE PE EE</editions>
53
        <configfiledesc>
54
            <p>The system identifier (URI) to be used in the DOCTYPE declaration.</p>
55
        </configfiledesc>
56
    </feature>
57
    <feature>
58
        <configfile>serialization/@encoding</configfile>
59
        <type>xs:string</type>
60
        <editions>HE PE EE</editions>
61
        <configfiledesc>
62
            <p>The output encoding, for example utf-8 or us-ascii.</p>
63
        </configfiledesc>
64
    </feature>
65
    <feature>
66
        <configfile>serialization/@escape-uri-attributes</configfile>
67
        <type>yes|no</type>
68
        <editions>HE PE EE</editions>
69
        <configfiledesc>
70
            <p>Defines whether URI-valued attributes in HTML/XHTML (for example href)
71
                are to be %HH-encoded.</p>
72
        </configfiledesc>
73
    </feature>
74
    <feature>
75
        <configfile>serialization/@html-version</configfile>
76
        <type>xs:decimal</type>
77
        <editions>HE PE EE</editions>
78
        <configfiledesc>
79
            <p>When the output method is HTML or XHTML, then if this attribute takes 
80
                decimal value 5.0, then the output produced is HTML 5.0 or XHTML 5.0 respectively.</p>
81
        </configfiledesc>
82
    </feature>
83
    <feature>
84
        <configfile>serialization/@include-content-type</configfile>
85
        <type>yes|no</type>
86
        <editions>HE PE EE</editions>
87
        <configfiledesc>
88
            <p>Defines whether a &lt;meta> element should be added to the
89
                HTML &lt;head> element to identify the media type of the output.</p>
90
        </configfiledesc>
91
    </feature>
92
    <feature>
93
        <configfile>serialization/@indent</configfile>
94
        <type>yes|no</type>
95
        <editions>HE PE EE</editions>
96
        <configfiledesc>
97
            <p>Defines whether indentation is to be added to the output.</p>
98
        </configfiledesc>
99
    </feature>
100
    <feature>
101
        <configfile>serialization/@item-separator</configfile>
102
        <type>xs:string</type>
103
        <editions>HE PE EE</editions>
104
        <configfiledesc>
105
            <p>Defines separator to be used between items in serialized output.</p>
106
        </configfiledesc>
107
    </feature>
108
    <feature>
109
        <configfile>serialization/@json-node-output-method</configfile>
110
        <type>xs:QName</type>
111
        <editions>HE PE EE</editions>
112
        <configfiledesc>
113
            <p>Used only for JSON output. Defines the serialization method for nodes, 
114
                for example 'xml' or 'html' or 'text'.</p>
115
        </configfiledesc>
116
    </feature>
117
    <feature>
118
        <configfile>serialization/@media-type</configfile>
119
        <type>xs:string</type>
120
        <editions>HE PE EE</editions>
121
        <configfiledesc>
122
            <p>Defines the media type (MIME type) of the output.</p>
123
        </configfiledesc>
124
    </feature>
125
    <feature>
126
        <configfile>serialization/@method</configfile>
127
        <type>xs:QName</type>
128
        <editions>HE PE EE</editions>
129
        <configfiledesc>
130
            <p>Defines the serialization method, for example 'xml' or 'html' or 'text'.</p>
131
        </configfiledesc>
132
    </feature>
133
    <feature>
134
        <configfile>serialization/@normalization-form</configfile>
135
        <type>xs:string</type>
136
        <editions>HE PE EE</editions>
137
        <configfiledesc>
138
            <p>Defines whether Unicode normalization should be applied during serialization,
139
                and if so, which Unicode normalization form should be used.</p>
140
        </configfiledesc>
141
    </feature>
142
    <feature>
143
        <configfile>serialization/@omit-xml-declaration</configfile>
144
        <type>yes|no</type>
145
        <editions>HE PE EE</editions>
146
        <configfiledesc>
147
            <p>Defines whether the XML declaration should be omitted from XML output.</p>
148
        </configfiledesc>
149
    </feature>
150
    <feature>
151
        <configfile>serialization/@standalone</configfile>
152
        <type>yes|no|omit</type>
153
        <editions>HE PE EE</editions>
154
        <configfiledesc>
155
            <p>Defines whether the XML declaration in XML output should have a 'standalone' attribute.</p>
156
        </configfiledesc>
157
    </feature>
158
    <feature>
159
        <configfile>serialization/@suppress-indentation</configfile>
160
        <type>A space-separated list of QNames</type>
161
        <editions>HE PE EE</editions>
162
        <configfiledesc>
163
            <p>Defines a list of element names whose content should not be indented
164
                even when indent='yes' is specified.</p>
165
        </configfiledesc>
166
    </feature>
167
    <feature>
168
        <configfile>serialization/@undeclare-prefixes</configfile>
169
        <type>yes|no</type>
170
        <editions>HE PE EE</editions>
171
        <configfiledesc>
172
            <p>Defines whether namespaces present on a parent element but not on
173
                its children should be undeclared using XML Namespaces 1.1 syntax.</p>
174
        </configfiledesc>
175
    </feature>
176
    <feature>
177
        <configfile>serialization/@use-character-maps</configfile>
178
        <type>A space-separated list of QNames</type>
179
        <editions>HE PE EE</editions>
180
        <configfiledesc>
181
            <p>Defines a list of the names of character maps which will be 
182
                applied to transform individual characters during serialization.</p>
183
        </configfiledesc>
184
    </feature>
185
    <feature>
186
        <configfile>serialization/@version</configfile>
187
        <type>xs:string</type>
188
        <editions>HE PE EE</editions>
189
        <configfiledesc>
190
            <p>Defines the version of XML or HTML to be used for the output.</p>
191
        </configfiledesc>
192
    </feature>
193
    <feature>
194
        <configfile>serialization/@additional attributes</configfile>
195
        <additional/>
196
        <type>Various</type>
197
        <editions>PE EE</editions>
198
        <configfiledesc>
199
            <p>Additional attributes in the Saxon namespace <code>http://saxon.sf.net/</code> can
200
                also be supplied. For details of the available parameters see <a class="bodylink"
201
                href="/extensions/output-extras">Additional serialization parameters</a>.</p>
202
        </configfiledesc>
203
    </feature>
204

    
205
    <feature>
206
        <configfile>extensionElement/@factory</configfile>
207
        <use>required</use>
208
        <type>Name of class implementing the Saxon interface
209
                <link>com.saxonica.xsltextn.ExtensionElementFactory</link></type>
210
        <editions>PE EE</editions>
211
        <configfiledesc>
212
            <p>Links to the implementation of the various extension instructions in the specified
213
                namespace.</p>
214
        </configfiledesc>
215
    </feature>
216
    <feature>
217
        <configfile>extensionElement/@namespace</configfile>
218
        <use>required</use>
219
        <type>A namespace URI</type>
220
        <editions>PE EE</editions>
221
        <configfiledesc>
222
            <p>The namespace URI of the extension instructions.</p>
223
        </configfiledesc>
224
    </feature>
225
    
226
    <feature>
227
        <configfile>package/@name</configfile>
228
        <use>required</use>
229
        <type>string</type>
230
        <editions>HE PE EE</editions>
231
        <configfiledesc>
232
            <p>The package name. Must match the value in the <code>name</code> attribute of the <code>xsl:package</code> element,
233
                unless the <code>base</code> attribute is present. When <code>xsl:use-package</code> searches for an appropriate package to use,
234
                it is this name that will be matched.</p>
235
        </configfiledesc>
236
    </feature>
237
    <feature>
238
        <configfile>package/@version</configfile>
239
        <use>required</use>
240
        <type>string</type>
241
        <editions>HE PE EE</editions>
242
        <configfiledesc>
243
            <p>The package version. Required. The numeric part of the version number must match the value in the <code>package-version</code> 
244
                attribute of the <code>xsl:package</code> element; the NamePart (if any) can differ. When <code>xsl:use-package</code>
245
                searches for an appropriate package to use, it is the version number in the configuration file that is used, not the version
246
                in the XSLT source.</p>
247
        </configfiledesc>
248
    </feature>
249
    <feature>
250
        <configfile>package/@base</configfile>
251
        <use>optional</use>
252
        <type>string</type>
253
        <editions>HE PE EE</editions>
254
        <configfiledesc>
255
            <p>The original package name. Required only if the package name defined in the <code>name</code> attribute differs from the
256
                package name in the XSLT source. If present, the value must match the package name defined in the XSLT source. Using this
257
                attribute allows packages to be renamed. This is useful when a package has static parameters whose values are bound in child
258
                <code>withParam</code> elements: it allows two instances of a package to be made available (under different names) with different
259
                bindings for the static parameters.</p>
260
        </configfiledesc>
261
    </feature>
262
    <feature>
263
        <configfile>package/@shortName</configfile>
264
        <use>optional</use>
265
        <type>string</type>
266
        <editions>HE PE EE</editions>
267
        <configfiledesc>
268
            <p>Any convenient short name for the package name/version combination. This can be used for convenience 
269
                as the value of the <code>-xsl</code> option on the <code>Transform</code> command line. (We suggest using a value that
270
                is unlikely to be confused with a filename, for example <code>*</code> if the same stylesheet package is used all the time.)</p>
271
        </configfiledesc>
272
    </feature>
273
    <feature>
274
        <configfile>package/@sourceLocation</configfile>
275
        <use>optional</use>
276
        <type>Relative URI</type>
277
        <editions>HE PE EE</editions>
278
        <configfiledesc>
279
            <p>The location (relative to the configuration file) of the source XSLT code of the top-level module of the package.</p>
280
        </configfiledesc>
281
    </feature>
282
    <feature>
283
        <configfile>package/@exportLocation</configfile>
284
        <use>optional</use>
285
        <type>Relative URI</type>
286
        <editions>HE PE EE</editions>
287
        <configfiledesc>
288
            <p>The location (relative to the configuration file) of a representation of this package in SEF (stylesheet export format) form.
289
                If this attribute is present then the SEF form will always be used in preference to the source form; the <code>sourceLocation</code> is then ignored,
290
                and it is an error if any <code>withParam</code> children are present (because static parameters will have been bound when the SEF was created).                
291
                It is entirely a user responsibility to keep the SEF form up-to-date with changes to the source.</p>
292
        </configfiledesc>
293
    </feature>
294
    <feature>
295
        <configfile>package/@priority</configfile>
296
        <use>optional</use>
297
        <type>integer</type>
298
        <editions>HE PE EE</editions>
299
        <configfiledesc>
300
            <p>Used when there are several versions of a package available and the client does not specify which version to use. The value
301
                must be an integer. Versions
302
                with higher priority are preferred over versions with lower priority or unspecified priority; if the priorities are equal (or unspecified) 
303
                then the highest available version is used. The rules for ordering of version numbers are given in section §3.5.1 of the
304
                W3C specification.</p>
305
        </configfiledesc>
306
    </feature>
307
    <feature>
308
        <configfile>withParam/@name</configfile>
309
        <use>required</use>
310
        <type>EQName</type>
311
        <editions>HE PE EE</editions>
312
        <configfiledesc>
313
            <p>The parameter name.</p>
314
        </configfiledesc>
315
    </feature>
316
    <feature>
317
        <configfile>withParam/@select</configfile>
318
        <use>required</use>
319
        <type>XPath expression</type>
320
        <editions>HE PE EE</editions>
321
        <configfiledesc>
322
            <p>An XPath expression that is evaluated to give the value of the parameter (so a boolean parameter might be written
323
                <code>select="true()"</code>, while a string parameter would be expressed as <code>select="'London'"</code>).</p>
324
        </configfiledesc>
325
    </feature>
326
    
327
    <feature>
328
        <configfile>resources/externalObjectModel</configfile>
329
        <type>Class that implements the <link>net.sf.saxon.lib.ExternalObjectModel</link>
330
            interface</type>
331
        <editions>HE PE EE</editions>
332
        <configfiledesc>
333
            <p>Defines an external object model that can be used to provide input to Saxon (and in
334
                some cases receive output): for example DOM, JDOM, XOM, etc.</p>
335
        </configfiledesc>
336
    </feature>
337
    <feature>
338
        <configfile>resources/extensionFunction</configfile>
339
        <type>Class that implements the <link>net.sf.saxon.lib.ExtensionFunctionDefinition</link>
340
            interface</type>
341
        <editions>HE PE EE</editions>
342
        <configfiledesc>
343
            <p>Defines an "integrated extension function" written to a specific Saxon API.</p>
344
        </configfiledesc>
345
    </feature>
346
    <feature>
347
        <configfile>resources/schemaDocument</configfile>
348
        <type>Relative or absolute URI</type>
349
        <editions>EE</editions>
350
        <configfiledesc>
351
            <p>A schema document to be preloaded into the Saxon schema cache.</p>
352
        </configfiledesc>
353
    </feature>
354
    <feature>
355
        <configfile>resources/schemaComponentModel</configfile>
356
        <type>Relative or absolute URI</type>
357
        <editions>EE</editions>
358
        <configfiledesc>
359
            <p>A schema component model document (previously exported by Saxon) allowing fast
360
                loading of a compiled schema.</p>
361
        </configfiledesc>
362
    </feature>
363
    <feature>
364
        <configfile>fileExtension/@extension</configfile>
365
        <use>required</use>
366
        <type>An extension type, e.g. "xq"</type>
367
        <editions>HE PE EE</editions>
368
        <configfiledesc>
369
            <p>A file extension.</p>
370
        </configfiledesc>
371
    </feature>
372
    <feature>
373
        <configfile>fileExtension/@mediaType</configfile>
374
        <use>required</use>
375
        <type>A media type, e.g. "text/plain"</type>
376
        <editions>HE PE EE</editions>
377
        <configfiledesc>
378
            <p>The media type corresponding to the file extension. The media types that are
379
                recognised by default are: application/xml, text/xml, application/html, text/html,
380
                application/atom, application/xml+xslt, and application/xml+xsd (which return an XML
381
                node); text/plain, and application/java (which return a string); application/binary
382
                (returns base64Binary); and application/json (returns the result of parsing the
383
                JSON, typically a map or array). </p>
384
        </configfiledesc>
385
    </feature>
386
    <feature>
387
        <configfile>collation/@uri</configfile>
388
        <use>required</use>
389
        <type>The collation URI (mandatory)</type>
390
        <editions>HE PE EE</editions>
391
        <configfiledesc>
392
            <p>An absolute URI used to identify the collation in queries and stylesheets.</p>
393
        </configfiledesc>
394
    </feature>
395
    <feature>
396
        <configfile>collation/@alphanumeric</configfile>
397
        <type>yes|no|codepoint</type>
398
        <editions>HE PE EE</editions>
399
        <configfiledesc>
400
            <p>Yes indicates that a sequence of digits within a string is read as a number, for
401
                example "test8.xml" precedes "test10.xml".</p>
402
        </configfiledesc>
403
    </feature>
404
    <feature>
405
        <configfile>collation/@case-order</configfile>
406
        <type>upper-first|lower-first|#default</type>
407
        <editions>HE PE EE</editions>
408
        <configfiledesc>
409
            <p>Indicates whether upper-case characters should precede or follow their lower-case
410
                equivalents.</p>
411
        </configfiledesc>
412
    </feature>
413
    <feature>
414
        <configfile>collation/@class</configfile>
415
        <type>Java class implementing <code>Collator</code>, <code>StringCollator</code>, or
416
            <code>Comparator</code></type>
417
        <editions>HE PE EE</editions>
418
        <configfiledesc>
419
            <p>Class used to perform string comparisons.</p>
420
        </configfiledesc>
421
    </feature>
422
    <feature>
423
        <configfile>collation/@decomposition</configfile>
424
        <type>none|standard|full</type>
425
        <editions>HE PE EE</editions>
426
        <configfiledesc>
427
            <p>Determines whether Unicode normalization should be applied to strings before
428
                comparison (Java platform only).</p>
429
        </configfiledesc>
430
    </feature>
431
    <feature>
432
        <configfile>collation/@ignore-case</configfile>
433
        <type>yes|no</type>
434
        <editions>HE PE EE</editions>
435
        <configfiledesc>
436
            <p>Yes indicates that upper-case and lower-case are equivalent.</p>
437
        </configfiledesc>
438
    </feature>
439
    <feature>
440
        <configfile>collation/@ignore-modifiers</configfile>
441
        <type>yes|no</type>
442
        <editions>HE PE EE</editions>
443
        <configfiledesc>
444
            <p>Yes indicates that accents and other modifiers are ignored.</p>
445
        </configfiledesc>
446
    </feature>
447
    <feature>
448
        <configfile>collation/@ignore-symbols</configfile>
449
        <type>yes|no</type>
450
        <editions>HE PE EE</editions>
451
        <configfiledesc>
452
            <p>Yes indicates that punctuation symbols are ignored (.NET only).</p>
453
        </configfiledesc>
454
    </feature>
455
    <feature>
456
        <configfile>collation/@ignore-width</configfile>
457
        <type>yes|no</type>
458
        <editions>HE PE EE</editions>
459
        <configfiledesc>
460
            <p>Yes indicates that width variations between characters are ignored.</p>
461
        </configfiledesc>
462
    </feature>
463
    <feature>
464
        <configfile>collation/@lang</configfile>
465
        <type>Language code, e.g. <code>en-US</code></type>
466
        <editions>HE PE EE</editions>
467
        <configfiledesc>
468
            <p>Language supported by the collation.</p>
469
        </configfiledesc>
470
    </feature>
471
    <feature>
472
        <configfile>collation/@rules</configfile>
473
        <type>Rules in Java <code>RuleBasedCollator</code> format</type>
474
        <editions>HE PE EE</editions>
475
        <configfiledesc>
476
            <p>Detailed rules for ordering of characters.</p>
477
        </configfiledesc>
478
    </feature>
479
    <feature>
480
        <configfile>collation/@strength</configfile>
481
        <type>primary|secondary|tertiary|identical</type>
482
        <editions>HE PE EE</editions>
483
        <configfiledesc>
484
            <p>The strength of the collation. A stronger collation takes more details of the
485
                character into account, e.g. accents and case.</p>
486
        </configfiledesc>
487
    </feature>
488
    <feature>
489
        <configfile>localization/@lang</configfile>
490
        <use>required</use>
491
        <type>An ISO language code, e.g. <code>en</code> or <code>fr-CA</code> (mandatory)</type>
492
        <editions>HE PE EE</editions>
493
        <configfiledesc>
494
            <p>The language to which this localization relates.</p>
495
        </configfiledesc>
496
    </feature>
497
    <feature>
498
        <configfile>localization/@class</configfile>
499
        <use>optional</use>
500
        <type>Name of a class that implements the interface
501
            <link>net.sf.saxon.lib.Numberer</link></type>
502
        <editions>HE PE EE</editions>
503
        <configfiledesc>
504
            <p>The class that performs localization for the specified language.</p>
505
        </configfiledesc>
506
    </feature>
507
    <feature>
508
        <configfile>localization/@additional attributes</configfile>
509
        <additional/>
510
        <type>Additional attributes are passed on to a user-specified
511
            <link>net.sf.saxon.lib.LocalizerFactory</link></type>
512
        <editions>HE PE EE</editions>
513
        <configfiledesc>
514
            <p>The meaning of these attributes depends entirely on the
515
                <code>LocalizerFactory</code>.</p>
516
        </configfiledesc>
517
    </feature>
518

    
519
</features>
(1-1/8)