Debian Codegraph @

data/syntax/xslt.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE language
3 [
4 <!ENTITY qname "[A-Za-z_:][\w.:_-]*">
5 <!ENTITY name "(?![0-9])[\w_:][\w.:_-]*">
6 <!ENTITY entref "&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|&qname;);">
7 <!ENTITY axisname "ancestor|ancestor-or-self|attribute|child|descendant|descendant-or-self|following|following-sibling|namespace|parent|preceding|preceding-sibling|self">
8 ]>
9
10 <!--
11 Kate syntax highlighting for XSLT
12 2004 by Peter Lammich ([email protected])
13 Published under the LGPL
14
15 TODO/FIXME
16
17 - Is qname - entity correct ??
18
19 - Integrate latest XML highlighting, that supports ...
20 This version is mainly based on kate 2.1 XML highlighting file
21
22 - highlight functions only if they are followed by a '('. (How to do that ??)
23 - use <IncludeRules> to make things a bit more modular and cleaner
24
25 - I'd like to properly comment this file, but kate 2.1 (I have to work with it) behaves strange whith comments.
26 It seems to immediately stop processing a tag's content when encountering a comment
27
28 - Define own highlighting rules for patterns (Currently a pattern is highlighted as XPath)
29
30 - Highlight also XPath keywords, such as 'cast as'
31
32
33 DONE: !DOCTYPE, ![CDATA[, Processing Instructions support copied from latest XML-highlighting
34
35 DONE: Added XSLT 2.0 tag- and XPath2.0 and XSLT2.0 function keywords
36
37 FIXED: axis highlighting does not work, if identifier continues directly behind axis: (self::someWord)
38
39 DONE: highlight entity references
40 Do not replace the <RegExpr> by <IncludeEntities>, this is a kate 2.1 workaround !
41
42 FIXED axis-names are even highlighted if there are characters in front of them, i.e. in "xxxself::", "self::" would
43 be highlighted.
44 Now matching any qnames in XPath by own matcher
45
46 &varname; entity, what exactly is allowed by xslt ?
47 &varname; entity not used any more, variable names can be qnames.
48
49 CHANGED: Use the Alert style for the highlighting of todo and fixme, etc.
50 Comments are foldable, two dashes inside comment hl as error,
51 use the dsError style for Invalid data (Wilbert Berendsen, [email protected])
52
53
54 -->
55
56 <language version="10" kateversion="5.0" name="xslt" section="Markup" extensions="*.xsl;*.xslt" license="LGPL" author="Peter Lammich ([email protected])">
57 <highlighting>
58 <list name="keytags">
59 <item>xsl:value-of</item>
60 <item>xsl:output</item>
61 <item>xsl:decimal-format</item>
62 <item>xsl:apply-templates</item>
63 <item>xsl:param</item>
64 <item>xsl:transform</item>
65 <item>xsl:namespace-alias</item>
66 <item>xsl:comment</item>
67 <item>xsl:element</item>
68 <item>xsl:attribute</item>
69 <item>xsl:apply-imports</item>
70 <item>xsl:text</item>
71 <item>xsl:when</item>
72 <item>xsl:template</item>
73 <item>xsl:processing-instruction</item>
74 <item>xsl:include</item>
75 <item>xsl:copy-of</item>
76 <item>xsl:copy</item>
77 <item>xsl:with-param</item>
78 <item>xsl:stylesheet</item>
79 <item>xsl:for-each</item>
80 <item>xsl:choose</item>
81 <item>xsl:sort</item>
82 <item>xsl:otherwise</item>
83 <item>xsl:key</item>
84 <item>xsl:variable</item>
85 <item>xsl:number</item>
86 <item>xsl:message</item>
87 <item>xsl:fallback</item>
88 <item>xsl:strip-space</item>
89 <item>xsl:import</item>
90 <item>xsl:preserve-space</item>
91 <item>xsl:if</item>
92 <item>xsl:call-template</item>
93 <item>xsl:attribute-set</item>
94 </list>
95
96 <list name="keytags_2.0">
97 <item>xsl:perform-sort</item>
98 <item>xsl:import-schema</item>
99 <item>xsl:for-each-group</item>
100 <item>xsl:sequence</item>
101 <item>xsl:non-matching-substring</item>
102 <item>xsl:namespace</item>
103 <item>xsl:next-match</item>
104 <item>xsl:function</item>
105 <item>xsl:analyze-string</item>
106 <item>xsl:output-character</item>
107 <item>xsl:matching-substring</item>
108 <item>xsl:result-document</item>
109 <item>xsl:character-map</item>
110 <item>xsl:document</item>
111 </list>
112
113 <list name="functions">
114 <item>format-number</item>
115 <item>position</item>
116 <item>lang</item>
117 <item>substring-before</item>
118 <item>substring</item>
119 <item>normalize-space</item>
120 <item>round</item>
121 <item>translate</item>
122 <item>starts-with</item>
123 <item>concat</item>
124 <item>local-name</item>
125 <item>key</item>
126 <item>count</item>
127 <item>document</item>
128 <item>system-property</item>
129 <item>current</item>
130 <item>boolean</item>
131 <item>number</item>
132 <item>contains</item>
133 <item>name</item>
134 <item>last</item>
135 <item>unparsed-entity-uri</item>
136 <item>sum</item>
137 <item>generate-id</item>
138 <item>function-available</item>
139 <item>element-available</item>
140 <item>false</item>
141 <item>substring-after</item>
142 <item>not</item>
143 <item>string-length</item>
144 <item>id</item>
145 <item>floor</item>
146 <item>ceiling</item>
147 <item>namespace-uri</item>
148 <item>true</item>
149 <item>string</item>
150 <item>text</item>
151 </list>
152
153 <list name="functions_2.0">
154 <item>zero-or-one</item>
155 <item>replace</item>
156 <item>namespace-uri-for-prefix</item>
157 <item>current-grouping-key</item>
158 <item>seconds-from-duration</item>
159 <item>resolve-uri</item>
160 <item>node-kind</item>
161 <item>minutes-from-dateTime</item>
162 <item>implicit-timezone</item>
163 <item>exactly-one</item>
164 <item>current-time</item>
165 <item>current-dateTime</item>
166 <item>unordered</item>
167 <item>subtract-dates-yielding-dayTimeDuration</item>
168 <item>string-join</item>
169 <item>static-base-uri</item>
170 <item>months-from-duration</item>
171 <item>input</item>
172 <item>exists</item>
173 <item>default-collation</item>
174 <item>dateTime</item>
175 <item>current-group</item>
176 <item>current-date</item>
177 <item>collection</item>
178 <item>timezone-from-time</item>
179 <item>matches</item>
180 <item>local-name-from-QName</item>
181 <item>day-from-date</item>
182 <item>timezone-from-date</item>
183 <item>round-half-to-even</item>
184 <item>month-from-dateTime</item>
185 <item>month-from-date</item>
186 <item>hours-from-duration</item>
187 <item>escape-uri</item>
188 <item>distinct-values</item>
189 <item>avg</item>
190 <item>years-from-duration</item>
191 <item>unparsed-text</item>
192 <item>unparsed-entity-public-id</item>
193 <item>subtract-dateTimes-yielding-dayTimeDuration</item>
194 <item>subtract-dates-yielding-yearMonthDuration</item>
195 <item>string-to-codepoints</item>
196 <item>sequence-node-identical</item>
197 <item>hours-from-time</item>
198 <item>hours-from-dateTime</item>
199 <item>format-time</item>
200 <item>codepoints-to-string</item>
201 <item>trace</item>
202 <item>tokenize</item>
203 <item>subtract-dateTimes-yielding-yearMonthDuration</item>
204 <item>subsequence</item>
205 <item>seconds-from-dateTime</item>
206 <item>regex-group</item>
207 <item>one-or-more</item>
208 <item>node-name</item>
209 <item>namespace-uri-from-QName</item>
210 <item>min</item>
211 <item>idref</item>
212 <item>format-dateTime</item>
213 <item>format-date</item>
214 <item>days-from-duration</item>
215 <item>compare</item>
216 <item>base-uri</item>
217 <item>seconds-from-time</item>
218 <item>in-scope-prefixes</item>
219 <item>expanded-QName</item>
220 <item>adjust-date-to-timezone</item>
221 <item>year-from-date</item>
222 <item>resolve-QName</item>
223 <item>remove</item>
224 <item>QName</item>
225 <item>minutes-from-time</item>
226 <item>max</item>
227 <item>lower-case</item>
228 <item>index-of</item>
229 <item>doc</item>
230 <item>deep-equal</item>
231 <item>data</item>
232 <item>minutes-from-duration</item>
233 <item>adjust-dateTime-to-timezone</item>
234 <item>abs</item>
235 <item>timezone-from-dateTime</item>
236 <item>reverse</item>
237 <item>error</item>
238 <item>ends-with</item>
239 <item>day-from-dateTime</item>
240 <item>year-from-dateTime</item>
241 <item>upper-case</item>
242 <item>root</item>
243 <item>normalize-unicode</item>
244 <item>empty</item>
245 <item>insert-before</item>
246 <item>document-uri</item>
247 <item>adjust-time-to-timezone</item>
248 </list>
249
250 <list name="xsl-attributes">
251 <item>select</item>
252 <item>test</item>
253 <item>match</item>
254 </list>
255
256 <contexts>
257
258 <context name="normalText" attribute="Normal Text" lineEndContext="#stay">
259 <DetectSpaces />
260 <DetectIdentifier />
261
262 <Detect2Chars context="specialtag" char="&lt;" char1="!" lookAhead="1"/>
263 <Detect2Chars context="pitag" char="&lt;" char1="?" lookAhead="1"/>
264 <Detect2Chars attribute="Tag Symbols" context="ElementEndTagName" char="&lt;" char1="/" endRegion="element" />
265 <DetectChar attribute="Tag Symbols" context="ElementTagName" char="&lt;" beginRegion="element" />
266
267 <IncludeRules context="FindEntityRefs" />
268 </context>
269
270 <context name="pitag" attribute="Normal Text" lineEndContext="#stay">
271 <RegExpr attribute="PI Symbols" context="#pop!PI TagName" String="&lt;\?(?=([\w:_-]*))" beginRegion="pi" />
272 <DetectChar attribute="Invalid" context="#pop" char="&lt;"/>
273 </context>
274
275 <context name="specialtag" attribute="Normal Text" lineEndContext="#stay">
276 <StringDetect attribute="Comment" context="#pop!comment" String="&lt;!--" beginRegion="comment"/>
277 <StringDetect attribute="CDATA" context="#pop!CDATAStart" String="&lt;![CDATA[" lookAhead="1" />
278 <RegExpr attribute="Doctype Symbols" context="#pop!DoctypeTagName" String="&lt;!(?=DOCTYPE(\s|$))" beginRegion="doctype" />
279 <DetectChar attribute="Invalid" context="#pop" char="&lt;"/>
280 </context>
281
282 <context name="FindEntityRefs" attribute="Normal Text" lineEndContext="#stay">
283 <RegExpr attribute="Entity Reference" context="#stay" String="&entref;" />
284 <AnyChar attribute="Invalid" context="#stay" String="&amp;&lt;" />
285 </context>
286
287 <context name="CDATAStart" attribute="Normal Text" lineEndContext="#pop">
288 <StringDetect attribute="CDATA Symbols" context="#stay" String="&lt;![" beginRegion="cdata" />
289 <StringDetect attribute="CDATA" context="#stay" String="CDATA" />
290 <DetectChar attribute="CDATA Symbols" context="#pop!CDATA" char="[" />
291 </context>
292 <context name="CDATA" attribute="Other Text" lineEndContext="#stay">
293 <DetectSpaces />
294 <DetectIdentifier />
295 <StringDetect attribute="CDATA Symbols" context="#pop" String="]]&gt;" endRegion="cdata" />
296 <StringDetect attribute="Entity Reference" context="#stay" String="]]&amp;gt;" />
297 </context>
298
299 <context name="PI TagName" attribute="Other Text" lineEndContext="#pop!PI" fallthrough="true" fallthroughContext="#pop!PI">
300 <RegExpr attribute="Processing Instruction" context="#pop!PI-XML" String="xml(?=\s|$)" insensitive="true" />
301 <StringDetect attribute="Processing Instruction" context="#pop!PI" String="%1" dynamic="true" />
302 </context>
303 <context name="PI" attribute="Other Text" lineEndContext="#stay">
304 <Detect2Chars attribute="PI Symbols" context="#pop" char="?" char1="&gt;" endRegion="pi" />
305 </context>
306 <context name="PI-XML" attribute="Other Text" lineEndContext="#stay">
307 <IncludeRules context="PI" />
308 <RegExpr attribute="Attribute" context="#stay" String="(?:^|\s+)&name;" />
309 <DetectChar attribute="Attribute Separator" context="SpaceBeforeAttrValue" char="=" />
310 </context>
311
312 <context name="DoctypeTagName" attribute="Other Text" lineEndContext="#pop">
313 <StringDetect attribute="Doctype" context="#pop!DoctypeVariableName" String="DOCTYPE" />
314 </context>
315 <context name="DoctypeVariableName" attribute="Other Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop!Doctype">
316 <DetectSpaces />
317 <RegExpr attribute="Doctype Name" context="#pop!Doctype" String="&name;" />
318 </context>
319 <context name="Doctype" attribute="Other Text" lineEndContext="#stay">
320 <DetectChar attribute="Doctype Symbols" context="#pop" char="&gt;" endRegion="doctype" />
321 <DetectChar attribute="Doctype Symbols" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
322 </context>
323
324 <context name="Doctype Internal Subset" attribute="Other Text" lineEndContext="#stay">
325 <DetectChar attribute="Doctype Symbols" context="#pop" char="]" endRegion="int_subset" />
326 <RegExpr attribute="Doctype Symbols" context="Doctype Markupdecl TagName" String="&lt;!(?=(ELEMENT|ENTITY|ATTLIST|NOTATION)\b)" />
327 <StringDetect attribute="Comment" context="comment" String="&lt;!--" beginRegion="comment" />
328 <RegExpr attribute="PI Symbols" context="PI TagName" String="&lt;\?(?=([\w:_-]*))" beginRegion="pi" />
329 <IncludeRules context="FindPEntityRefs" />
330 </context>
331
332 <context name="Doctype Markupdecl TagName" attribute="Other Text" lineEndContext="#pop">
333 <StringDetect attribute="Doctype" context="#pop!Doctype Markupdecl VariableName" String="%1" dynamic="true" />
334 </context>
335 <context name="Doctype Markupdecl VariableName" attribute="Other Text" lineEndContext="#pop!Doctype Markupdecl" fallthrough="true" fallthroughContext="#pop!Doctype Markupdecl">
336 <DetectSpaces />
337 <RegExpr attribute="Doctype Name" context="#pop!Doctype Markupdecl" String="&name;" />
338 </context>
339 <context name="Doctype Markupdecl" attribute="Other Text" lineEndContext="#stay">
340 <DetectChar attribute="Doctype Symbols" context="#pop" char="&gt;" />
341 <DetectChar attribute="Value" context="Doctype Markupdecl DQ" char="&quot;" />
342 <DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="&apos;" />
343 </context>
344
345 <context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay">
346 <DetectChar attribute="Value" context="#pop" char="&quot;" />
347 <IncludeRules context="FindPEntityRefs" />
348 </context>
349
350 <context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay">
351 <DetectChar attribute="Value" context="#pop" char="&apos;" />
352 <IncludeRules context="FindPEntityRefs" />
353 </context>
354
355 <context name="FindPEntityRefs" attribute="Normal Text" lineEndContext="#stay">
356 <RegExpr attribute="Entity Reference" context="#stay" String="&entref;" />
357 <RegExpr attribute="PEntity Reference" context="#stay" String="%&qname;;" />
358 <AnyChar attribute="Invalid" context="#stay" String="&amp;%" />
359 </context>
360
361 <context name="ElementTagName" attribute="Other Text" lineEndContext="#pop!attributes" fallthrough="true" fallthroughContext="#pop">
362 <keyword attribute="XSLT Tag" context="#pop!xattributes" String="keytags" />
363 <keyword attribute="XSLT 2.0 Tag" context="#pop!xattributes" String="keytags_2.0" />
364 <DetectIdentifier context="#pop!attributes" attribute="Tag" />
365 </context>
366
367 <context name="ElementEndTagName" attribute="Other Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
368 <keyword attribute="XSLT Tag" context="#pop!endtag" String="keytags" />
369 <keyword attribute="XSLT 2.0 Tag" context="#pop!endtag" String="keytags_2.0" />
370 <DetectIdentifier context="#pop!endtag" attribute="Tag" />
371 </context>
372 <context name="endtag" attribute="Other Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
373 <DetectChar attribute="Tag Symbols" context="#pop" char="&gt;" />
374 <DetectSpaces/>
375 </context>
376
377 <context name="attributes" attribute="Attribute" lineEndContext="#stay">
378 <DetectSpaces attribute="Attribute" />
379 <Detect2Chars attribute="Tag Symbols" context="#pop" char="/" char1="&gt;" endRegion="element" />
380 <DetectChar attribute="Tag Symbols" context="#pop" char="&gt;" />
381 <DetectChar attribute="Attribute Separator" context="SpaceBeforeAttrValue" char="=" />
382 <DetectIdentifier attribute="Attribute" />
383 </context>
384
385 <context name="SpaceBeforeAttrValue" attribute="Attribute" lineEndContext="#stay" fallthrough="1" fallthroughContext="#pop!attrValue">
386 <DetectSpaces attribute="Attribute" />
387 </context>
388 <context name="attrValue" attribute="Invalid" lineEndContext="#stay">
389 <Detect2Chars attribute="Invalid" context="#pop#pop#pop" char="/" char1="&gt;" />
390 <DetectChar attribute="Invalid" context="#pop#pop#pop" char="&gt;" />
391 <DetectChar attribute="Attribute Value" context="string" char="&quot;" />
392 <DetectChar attribute="Attribute Value" context="sqstring" char="'" />
393 </context>
394
395 <context name="xattributes" attribute="Attribute" lineEndContext="#stay">
396 <DetectSpaces attribute="Attribute" />
397 <Detect2Chars attribute="Tag Symbols" context="#pop#pop" char="/" char1="&gt;" endRegion="element" />
398 <DetectChar attribute="Tag Symbols" context="#pop#pop" char="&gt;" />
399 <keyword attribute="XSLT XPath Attribute" context="xattributesSep" String="xsl-attributes" />
400 <DetectChar attribute="Attribute Separator" context="SpaceBeforeAttrValue" char="=" />
401 <DetectIdentifier attribute="Attribute" />
402 </context>
403
404 <context name="xattributesSep" attribute="Attribute" lineEndContext="#stay" fallthrough="1" fallthroughContext="#pop">
405 <DetectSpaces attribute="Attribute" />
406 <DetectChar attribute="Attribute Separator" context="SpaceBeforeXAttrValue" char="=" />
407 </context>
408 <context name="SpaceBeforeXAttrValue" attribute="Attribute" lineEndContext="#stay" fallthrough="1" fallthroughContext="#pop!xattrValue">
409 <DetectSpaces attribute="Attribute" />
410 </context>
411 <context name="xattrValue" attribute="Invalid" lineEndContext="#stay">
412 <Detect2Chars attribute="Invalid" context="#pop#pop#pop" char="/" char1="&gt;" />
413 <DetectChar attribute="Invalid" context="#pop#pop#pop" char="&gt;" />
414 <DetectChar attribute="XPath" context="xpath" char="&quot;" />
415 <DetectChar attribute="XPath" context="sqxpath" char="'" />
416 </context>
417
418
419 <context name="string" attribute="Attribute Value" lineEndContext="#stay">
420 <DetectIdentifier />
421 <DetectChar attribute="XPath" context="xpath" char="{" />
422 <DetectChar attribute="Attribute Value" context="#pop#pop" char="&quot;" />
423 <IncludeRules context="FindEntityRefs" />
424 </context>
425
426 <context name="sqstring" attribute="Attribute Value" lineEndContext="#stay">
427 <DetectIdentifier />
428 <DetectChar attribute="XPath" context="sqxpath" char="{" />
429 <DetectChar attribute="Attribute Value" context="#pop#pop" char="'" />
430 <IncludeRules context="FindEntityRefs" />
431 </context>
432
433 <context name="comment" attribute="Comment" lineEndContext="#stay">
434 <DetectSpaces />
435 <StringDetect attribute="Comment" context="#pop" String="--&gt;" endRegion="comment" />
436 <RegExpr attribute="Invalid" context="#stay" String="-(-(?!-&gt;))+" />
437 <IncludeRules context="##Comments" />
438 <DetectIdentifier />
439 </context>
440
441 <context name="xpath" attribute="XPath" lineEndContext="#stay">
442 <keyword attribute="XPath/ XSLT Function" context="#stay" String="functions" />
443 <keyword attribute="XPath 2.0/ XSLT 2.0 Function" context="#stay" String="functions_2.0" />
444 <RegExpr attribute="XPath Axis" context="#stay" String="(&axisname;)::" />
445 <DetectChar attribute="XPath" context="#pop" char="}" />
446 <DetectChar attribute="XPath String" context="sqxpathstring" char="'" />
447 <DetectChar attribute="XPath" context="#pop#pop" char="&quot;" />
448 <RegExpr attribute="XPath Attribute" context="#stay" String="@&qname;" />
449 <RegExpr attribute="Variable" context="#stay" String="\$&qname;" />
450 <RegExpr attribute="XPath" context="#stay" String="&qname;" />
451 <DetectChar attribute="Invalid" context="#stay" char="$" />
452 <DetectIdentifier />
453 <IncludeRules context="FindEntityRefs" />
454 </context>
455
456 <context name="sqxpath" attribute="XPath" lineEndContext="#stay">
457 <keyword attribute="XPath/ XSLT Function" context="#stay" String="functions" />
458 <keyword attribute="XPath 2.0/ XSLT 2.0 Function" context="#stay" String="functions_2.0" />
459 <RegExpr attribute="XPath Axis" context="#stay" String="(&axisname;)::" />
460 <DetectChar attribute="XPath" context="#pop" char="}" />
461 <DetectChar attribute="XPath String" context="xpathstring" char="&quot;" />
462 <DetectChar attribute="XPath" context="#pop#pop" char="'" />
463 <RegExpr attribute="XPath Attribute" context="#stay" String="@&qname;" />
464 <RegExpr attribute="Variable" context="#stay" String="\$&qname;" />
465 <RegExpr attribute="XPath" context="#stay" String="&qname;" />
466 <DetectChar attribute="Invalid" context="#stay" char="$" />
467 <DetectIdentifier />
468 <IncludeRules context="FindEntityRefs" />
469 </context>
470
471 <context name="sqxpathstring" attribute="XPath String" lineEndContext="#stay">
472 <DetectChar attribute="XPath String" context="#pop" char="'" />
473 <DetectIdentifier />
474 <IncludeRules context="FindEntityRefs" />
475 </context>
476
477 <context name="xpathstring" attribute="XPath String" lineEndContext="#stay">
478 <DetectChar attribute="XPath String" context="#pop" char="&quot;" />
479 <DetectIdentifier />
480 <IncludeRules context="FindEntityRefs" />
481 </context>
482
483 </contexts>
484 <itemDatas>
485 <itemData name="Normal Text" defStyleNum="dsNormal"/>
486 <itemData name="Other Text" defStyleNum="dsNormal" />
487 <itemData name="Tag" defStyleNum="dsKeyword" spellChecking="false"/>
488 <itemData name="Tag Symbols" defStyleNum="dsKeyword" spellChecking="false" />
489 <itemData name="Attribute" defStyleNum="dsOthers" spellChecking="false"/>
490 <itemData name="XSLT XPath Attribute" defStyleNum="dsOthers" spellChecking="false"/>
491 <itemData name="Attribute Separator" defStyleNum="dsOthers" spellChecking="false"/>
492 <itemData name="Value" defStyleNum="dsAttribute"/>
493 <itemData name="Invalid" defStyleNum="dsError" spellChecking="false"/>
494 <itemData name="Attribute Value" defStyleNum="dsString"/>
495 <itemData name="XPath" defStyleNum="dsVariable" bold="0" italic="0"/>
496 <itemData name="XPath String" defStyleNum="dsString"/>
497 <itemData name="XPath Axis" defStyleNum="dsVariable" bold="0" italic="1"/>
498 <itemData name="XPath/ XSLT Function" defStyleNum="dsVariable" bold="1" italic="0" spellChecking="false"/>
499 <itemData name="XPath 2.0/ XSLT 2.0 Function" defStyleNum="dsVariable" bold="1" italic="0" spellChecking="false"/>
500 <itemData name="XPath Attribute" defStyleNum="dsVariable" bold="0" italic="1" spellChecking="false"/>
501 <itemData name="Variable" defStyleNum="dsVariable" bold="0" italic="1" spellChecking="false"/>
502 <itemData name="Comment" defStyleNum="dsComment"/>
503 <itemData name="XSLT Tag" defStyleNum="dsBuiltIn" bold="1" spellChecking="false"/>
504 <itemData name="XSLT 2.0 Tag" defStyleNum="dsBuiltIn" bold="1" spellChecking="false"/>
505 <itemData name="Entity Reference" defStyleNum="dsDecVal" spellChecking="false"/>
506
507 <itemData name="CDATA" defStyleNum="dsBaseN" bold="1" spellChecking="false"/>
508 <itemData name="CDATA Symbols" defStyleNum="dsBaseN" bold="0" italic="0" spellChecking="false" />
509 <itemData name="Processing Instruction" defStyleNum="dsKeyword" spellChecking="false"/>
510 <itemData name="PI Symbols" defStyleNum="dsFunction" bold="0" italic="0" spellChecking="false" />
511 <itemData name="Doctype" defStyleNum="dsDataType" bold="1" spellChecking="false"/>
512 <itemData name="Doctype Name" defStyleNum="dsDataType" bold="0" italic="0" spellChecking="false" />
513 <itemData name="Doctype Symbols" defStyleNum="dsDataType" bold="0" italic="0" spellChecking="false" />
514 <itemData name="PEntity Reference" defStyleNum="dsDecVal" spellChecking="false"/>
515
516 </itemDatas>
517 </highlighting>
518 <general>
519 <comments>
520 <comment name="multiLine" start="&lt;!--" end="--&gt;" region="comment" />
521 </comments>
522 <keywords casesensitive="0" weakDeliminator="-:" additionalDeliminator="&quot;{}"/>
523 </general>
524 </language>
525 <!-- kate: space-indent on; replace-tabs on; tab-width 2; indent-width 2; -->