comparison runtime/autoload/xml/xsl.vim @ 1190:4e90dc161511

updated for version 7.1b
author vimboss
date Thu, 10 May 2007 16:56:30 +0000
parents fd1b3406fd1c
children
comparison
equal deleted inserted replaced
1189:7cdd85615e4e 1190:4e90dc161511
1 " Author: Mikolaj Machowski, Thomas Bartel
2 " Last change: 2007 May 8
1 let g:xmldata_xsl = { 3 let g:xmldata_xsl = {
2 \ 'apply-imports' : [[], {}], 4 \ 'apply-imports' : [[], {}],
3 \ 'apply-templates' : [['sort', 'with-param'], {'select' : [], 'mode' : []}], 5 \ 'apply-templates' : [['sort', 'with-param'], {'select' : [], 'mode' : []}],
4 \ 'attribute' : [[], {'name' : [], 'namespace' : []}], 6 \ 'attribute' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'name' : [], 'namespace' : []}],
5 \ 'attribute-set' : [['attribute'], {'name' : [], 'use-attribute-sets' : []}], 7 \ 'attribute-set' : [['attribute'], {'name' : [], 'use-attribute-sets' : []}],
6 \ 'call-template' : [['with-param'], {'name' : []}], 8 \ 'call-template' : [['with-param'], {'name' : []}],
7 \ 'choose' : [['when', 'otherwise'], {}], 9 \ 'choose' : [['when', 'otherwise'], {}],
8 \ 'comment' : [[], {}], 10 \ 'comment' : [[], {}],
9 \ 'copy' : [[], {'use-attribute-sets' : []}], 11 \ 'copy' : [[], {'use-attribute-sets' : []}],
10 \ 'copy-of' : [[], {'select' : []}], 12 \ 'copy-of' : [[], {'select' : []}],
11 \ 'decimal-format' : [[], {'name' : [], 'decimal-separator' : [], 'grouping-separator' : [], 'infinity' : [], 'minus-sign' : [], 'NaN' : [], 'percent' : [], 'per-mille' : [], 'zero-digit' : [], 'digit' : [], 'pattern-separator' : []}], 13 \ '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' : []}], 14 \ 'element' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'name' : [], 'namespace' : [], 'use-attribute-sets' : []}],
13 \ 'fallback' : [[], {}], 15 \ 'fallback' : [[], {}],
14 \ 'for-each' : [['sort'], {'select' : []}], 16 \ 'for-each' : [['sort'], {'select' : []}],
15 \ 'if' : [[], {'test' : []}], 17 \ 'if' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'test' : []}],
16 \ 'import' : [[], {'href' : []}], 18 \ 'import' : [[], {'href' : []}],
17 \ 'include' : [[], {'href' : []}], 19 \ 'include' : [[], {'href' : []}],
18 \ 'key' : [[], {'name' : [], 'match' : [], 'use' : []}], 20 \ 'key' : [[], {'name' : [], 'match' : [], 'use' : []}],
19 \ 'message' : [[], {'terminate' : ['yes', 'no']}], 21 \ 'message' : [[], {'terminate' : ['yes', 'no']}],
20 \ 'namespace-alias' : [[], {'stylesheet-prefix' : ['#default'], 'result-prefix' : ['#default']}], 22 \ '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' : []}], 23 \ 'number' : [[], {'level' : ['single', 'multiple', 'any'], 'count' : [], 'from' : [], 'value' : [], 'format' : [], 'lang' : [], 'letter-value' : ['alphabetic', 'traditional'], 'grouping-separator' : [], 'grouping-size' : []}],
22 \ 'otherwise' : [[], {}], 24 \ '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' : []}], 25 \ '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' : []}], 26 \ 'param' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'name' : [], 'select' : []}],
25 \ 'preserve-space' : [[], {'elements' : []}], 27 \ 'preserve-space' : [[], {'elements' : []}],
26 \ 'processing-instruction' : [[], {'name' : []}], 28 \ 'processing-instructionruction' : [[], {'name' : []}],
27 \ 'sort' : [[], {'select' : [], 'lang' : [], 'data-type' : ['text', 'number'], 'order' : ['ascending', 'descending'], 'case-order' : ['upper-first', 'lower-first']}], 29 \ 'sort' : [[], {'select' : [], 'lang' : [], 'data-type' : ['text', 'number'], 'order' : ['ascending', 'descending'], 'case-order' : ['upper-first', 'lower-first']}],
28 \ 'strip-space' : [[], {'elements' : []}], 30 \ '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' : []}], 31 \ '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' : []}], 32 \ 'template' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'match' : [], 'name' : [], 'priority' : [], 'mode' : []}],
31 \ 'text' : [[], {'disable-output-escaping' : ['yes', 'no']}], 33 \ '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' : []}], 34 \ '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']}], 35 \ 'value-of' : [[], {'select' : [], 'disable-output-escaping' : ['yes', 'no']}],
34 \ 'variable' : [[], {'name' : [], 'select' : []}], 36 \ 'variable' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'name' : [], 'select' : []}],
35 \ 'when' : [[], {'test' : []}], 37 \ 'when' : [[], {'test' : []}],
36 \ 'with-param' : [[], {'name' : [], 'select' : []}]} 38 \ 'with-param' : [['apply-imports', 'apply-templates', 'attribute', 'call-template', 'choose', 'comment', 'copy', 'copy-of', 'element', 'fallback', 'for-each', 'if', 'message', 'number', 'processing-instruction', 'text', 'value-of', 'variable'], {'name' : [], 'select' : []}]}
37