updated added with alist of what's in and what's not fixed top level Param
[platform/upstream/libxslt.git] / FEATURES
1
2 Stylesheet Constructs:
3 ======================
4
5 YES                 xsl:stylesheet
6 ?                       id = id 
7 NO                      extension-element-prefixes = tokens 
8 NO                      exclude-result-prefixes = tokens 
9 YES                     version = number
10
11 YES                 xsl:transform
12 ?                       id = id 
13 NO                      extension-element-prefixes = tokens 
14 NO                      exclude-result-prefixes = tokens 
15 YES                     version = number
16
17
18 YES                 Literal Result Element as Stylesheet
19
20 NO                  Embedding Stylesheets
21
22
23 Top Level Elements:
24 ===================
25
26 NO                  xsl:include
27 NO                      href = uri-reference
28
29 NO                  xsl:import
30 NO                      href = uri-reference
31
32 YES                 xsl:strip-space
33 YES                     elements = tokens
34
35 YES                 xsl:preserve-space
36 YES                     elements = tokens
37
38 YES                 xsl:template
39 YES                     match = pattern 
40 YES                     name = qname 
41 YES                     priority = number 
42 NO                      mode = qname
43
44 NO                  xsl:namespace-alias
45 NO                      stylesheet-prefix = prefix | "#default"
46 NO                      result-prefix = prefix | "#default"
47
48 NO                  xsl:attribute-set
49 NO                      name = qname 
50 NO                      use-attribute-sets = qnames
51
52 YES                 xsl:variable
53 YES                     name = qname 
54 YES                     select = expression
55 YES                     Content: template
56
57 YES                 xsl:param
58 YES                     name = qname 
59 YES                     select = expression
60 YES                     Content: template
61
62 NO                  xsl:key
63 NO                      name = qname 
64 NO                      match = pattern 
65 NO                      use = expression
66
67 YES                 xsl:output
68 YES                     method = "xml" | "html" | "text" | qname-but-not-ncname 
69 YES                     version = nmtoken 
70 YES                     encoding = string 
71 YES                     omit-xml-declaration = "yes" | "no"
72 YES                     standalone = "yes" | "no"
73 YES                     doctype-public = string 
74 YES                     doctype-system = string 
75 NO                      cdata-section-elements = qnames 
76 YES                     indent = "yes" | "no"
77 YES                     media-type = string
78
79 Instructions:
80 =============
81
82 YES                 xsl:apply-templates
83 YES                     select = node-set-expression 
84 NO                      mode = qname
85
86 NO                  xsl:apply-imports
87
88 YES                 xsl:call-template
89 YES                     name = qname
90
91 NO                  xsl:element
92 NO                      name = { qname }
93 NO                      namespace = { uri-reference }
94 NO                      use-attribute-sets = qnames
95
96 YES                 xsl:attribute
97 YES                     name = { qname }
98 YES                     namespace = { uri-reference }
99
100 YES                 xsl:text
101 YES                     disable-output-escaping = "yes" | "no"
102
103                     xsl:processing-instruction
104                         name = { ncname }
105
106 NO                  xsl:comment
107
108 NO                  xsl:copy
109 NO                      use-attribute-sets = qnames
110
111 YES                 xsl:value-of
112 YES                     select = string-expression 
113 NO                      disable-output-escaping = "yes" | "no"
114
115 NO                  xsl:number
116 NO                      level = "single" | "multiple" | "any"
117 NO                      count = pattern 
118 NO                      from = pattern 
119 NO                      value = number-expression 
120 NO                      format = { string }
121 NO                      lang = { nmtoken }
122 NO                      letter-value = { "alphabetic" | "traditional" }
123 NO                      grouping-separator = { char }
124 NO                      grouping-size = { number }
125
126 YES                 xsl:for-each
127 YES                     select = node-set-expression
128
129 YES                 xsl:if
130 YES                     test = boolean-expression
131
132 NO                  xsl:choose
133
134 NO                  xsl:when
135 NO                      test = boolean-expression
136
137 NO                  xsl:otherwise
138
139 YES                 xsl:sort
140 YES                     select = string-expression 
141 NO                      lang = { nmtoken }
142 YES                     data-type = { "text" | "number" | qname-but-not-ncname }
143 YES                     order = { "ascending" | "descending" }
144 NO                      case-order = { "upper-first" | "lower-first" }
145
146 YES                 xsl:variable
147 YES                     name = qname 
148 YES                     select = expression
149 YES                     Content: template
150
151 YES                 xsl:param
152 YES                     name = qname 
153 YES                     select = expression
154 YES                     Content: template
155
156 NO                  xsl:copy-of
157 NO                      select = expression
158
159 YES                 xsl:with-param
160 YES                     name = qname 
161 YES                     select = expression
162
163 NO                  xsl:decimal-format
164 NO                      name = qname 
165 NO                      decimal-separator = char 
166 NO                      grouping-separator = char 
167 NO                      infinity = string 
168 NO                      minus-sign = char 
169 NO                      NaN = string 
170 NO                      percent = char 
171 NO                      per-mille = char 
172 NO                      zero-digit = char 
173 NO                      digit = char 
174 NO                      pattern-separator = char
175
176 NO                  xsl:message
177 NO                      terminate = "yes" | "no"
178
179 NO                  xsl:fallback
180
181 General:
182 ========
183
184 YES (w.o import)    Conflict Resolution for Template Rules
185 YES                 Whitespace Stripping
186 YES                 Built-in Template Rules
187 YES                     match="*|/"
188 YES                     match="text()|@*"
189 YES                     match="processing-instruction()|comment()"
190 NO                      Namespace
191 NO                      Mode
192
193 YES                 Attribute Value Templates
194
195 YES                 Result Tree Fragments
196
197 Functions:
198 ==========
199
200 NO                  node-set document(object, node-set?)
201 NO                  node-set key(string, object)
202 NO                  string format-number(number, string, string?)
203 NO                  node-set current() 
204 NO                  string unparsed-entity-uri(string)
205 NO                  string generate-id(node-set?)
206 NO                  object system-property(string)
207 NO                  boolean element-available(string)
208 NO                  boolean function-available(string)
209
210 Daniel.Veillard@imag.fr
211 $Id$