blob: 5fce4779fddfe14b806e4b3a893826dbf998c2a6 [file] [log] [blame]
Bram Moolenaar18144c82006-04-12 21:52:12 +00001let g:xmldata_xsl = {
2 \ 'apply-imports' : [[], {}],
3 \ 'apply-templates' : [['sort', 'with-param'], {'select' : [], 'mode' : []}],
4 \ 'attribute' : [[], {'name' : [], 'namespace' : []}],
5 \ 'attribute-set' : [['attribute'], {'name' : [], 'use-attribute-sets' : []}],
6 \ 'call-template' : [['with-param'], {'name' : []}],
7 \ 'choose' : [['when', 'otherwise'], {}],
8 \ 'comment' : [[], {}],
9 \ 'copy' : [[], {'use-attribute-sets' : []}],
10 \ 'copy-of' : [[], {'select' : []}],
11 \ 'decimal-format' : [[], {'name' : [], 'decimal-separator' : [], 'grouping-separator' : [], 'infinity' : [], 'minus-sign' : [], 'NaN' : [], 'percent' : [], 'per-mille' : [], 'zero-digit' : [], 'digit' : [], 'pattern-separator' : []}],
12 \ 'element' : [[], {'name' : [], 'namespace' : [], 'use-attribute-sets' : []}],
13 \ 'fallback' : [[], {}],
14 \ 'for-each' : [['sort'], {'select' : []}],
15 \ 'if' : [[], {'test' : []}],
16 \ 'import' : [[], {'href' : []}],
17 \ 'include' : [[], {'href' : []}],
18 \ 'key' : [[], {'name' : [], 'match' : [], 'use' : []}],
19 \ 'message' : [[], {'terminate' : ['yes', 'no']}],
20 \ 'namespace-alias' : [[], {'stylesheet-prefix' : ['#default'], 'result-prefix' : ['#default']}],
21 \ 'number' : [[], {'level' : ['single', 'multiple', 'any'], 'count' : [], 'from' : [], 'value' : [], 'format' : [], 'lang' : [], 'letter-value' : ['alphabetic', 'traditional'], 'grouping-separator' : [], 'grouping-size' : []}],
22 \ 'otherwise' : [[], {}],
23 \ 'output' : [[], {'method' : ['xml', 'html', 'text'], 'version' : [], 'encoding' : [], 'omit-xml-declaration' : ['yes', 'no'], 'standalone' : ['yes', 'no'], 'doctype-public' : [], 'doctype-system' : [], 'cdata-section-elements' : [], 'indent' : ['yes', 'no'], 'media-type' : []}],
24 \ 'param' : [[], {'name' : [], 'select' : []}],
25 \ 'preserve-space' : [[], {'elements' : []}],
26 \ 'processing-instruction' : [[], {'name' : []}],
27 \ 'sort' : [[], {'select' : [], 'lang' : [], 'data-type' : ['text', 'number'], 'order' : ['ascending', 'descending'], 'case-order' : ['upper-first', 'lower-first']}],
28 \ 'strip-space' : [[], {'elements' : []}],
29 \ 'stylesheet' : [['import', 'attribute-set', 'decimal-format', 'include', 'key', 'namespace-alias', 'output', 'param', 'preserve-space', 'strip-space', 'template'], {'id' : [], 'extension-element-prefixes' : [], 'version' : []}],
30 \ 'template' : [['param'], {'match' : [], 'name' : [], 'priority' : [], 'mode' : []}],
31 \ 'text' : [[], {'disable-output-escaping' : ['yes', 'no']}],
32 \ 'transform' : [['import', 'attribute-set', 'decimal-format', 'include', 'key', 'namespace-alias', 'output', 'param', 'preserve-space', 'strip-space', 'template'], {'id' : [], 'extension-element-prefixes' : [], 'exclude-result-prefixes' : [], 'version' : []}],
33 \ 'value-of' : [[], {'select' : [], 'disable-output-escaping' : ['yes', 'no']}],
34 \ 'variable' : [[], {'name' : [], 'select' : []}],
35 \ 'when' : [[], {'test' : []}],
36 \ 'with-param' : [[], {'name' : [], 'select' : []}]}
37