Warning, /frameworks/syntax-highlighting/data/syntax/xslt.xml is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 <!DOCTYPE language 0003 [ 0004 <!ENTITY qname "[A-Za-z_:][\w.:_-]*"> 0005 <!ENTITY name "(?![0-9])[\w_:][\w.:_-]*"> 0006 <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&qname;);"> 0007 <!ENTITY axisname "ancestor|ancestor-or-self|attribute|child|descendant|descendant-or-self|following|following-sibling|namespace|parent|preceding|preceding-sibling|self"> 0008 ]> 0009 0010 <!-- 0011 Kate syntax highlighting for XSLT 0012 2004 by Peter Lammich (views@gmx.de) 0013 Published under the LGPL 0014 0015 TODO/FIXME 0016 0017 - Is qname - entity correct ?? 0018 0019 - Integrate latest XML highlighting, that supports ... 0020 This version is mainly based on kate 2.1 XML highlighting file 0021 0022 - highlight functions only if they are followed by a '('. (How to do that ??) 0023 - use <IncludeRules> to make things a bit more modular and cleaner 0024 0025 - I'd like to properly comment this file, but kate 2.1 (I have to work with it) behaves strange whith comments. 0026 It seems to immediately stop processing a tag's content when encountering a comment 0027 0028 - Define own highlighting rules for patterns (Currently a pattern is highlighted as XPath) 0029 0030 - Highlight also XPath keywords, such as 'cast as' 0031 0032 0033 DONE: !DOCTYPE, ![CDATA[, Processing Instructions support copied from latest XML-highlighting 0034 0035 DONE: Added XSLT 2.0 tag- and XPath2.0 and XSLT2.0 function keywords 0036 0037 FIXED: axis highlighting does not work, if identifier continues directly behind axis: (self::someWord) 0038 0039 DONE: highlight entity references 0040 Do not replace the <RegExpr> by <IncludeEntities>, this is a kate 2.1 workaround ! 0041 0042 FIXED axis-names are even highlighted if there are characters in front of them, i.e. in "xxxself::", "self::" would 0043 be highlighted. 0044 Now matching any qnames in XPath by own matcher 0045 0046 &varname; entity, what exactly is allowed by xslt ? 0047 &varname; entity not used any more, variable names can be qnames. 0048 0049 CHANGED: Use the Alert style for the highlighting of todo and fixme, etc. 0050 Comments are foldable, two dashes inside comment hl as error, 0051 use the dsError style for Invalid data (Wilbert Berendsen, wbsoft@xs4all.nl) 0052 0053 0054 --> 0055 0056 <language version="10" kateversion="5.0" name="xslt" section="Markup" extensions="*.xsl;*.xslt" license="LGPL" author="Peter Lammich (views@gmx.de)"> 0057 <highlighting> 0058 <list name="keytags"> 0059 <item>xsl:value-of</item> 0060 <item>xsl:output</item> 0061 <item>xsl:decimal-format</item> 0062 <item>xsl:apply-templates</item> 0063 <item>xsl:param</item> 0064 <item>xsl:transform</item> 0065 <item>xsl:namespace-alias</item> 0066 <item>xsl:comment</item> 0067 <item>xsl:element</item> 0068 <item>xsl:attribute</item> 0069 <item>xsl:apply-imports</item> 0070 <item>xsl:text</item> 0071 <item>xsl:when</item> 0072 <item>xsl:template</item> 0073 <item>xsl:processing-instruction</item> 0074 <item>xsl:include</item> 0075 <item>xsl:copy-of</item> 0076 <item>xsl:copy</item> 0077 <item>xsl:with-param</item> 0078 <item>xsl:stylesheet</item> 0079 <item>xsl:for-each</item> 0080 <item>xsl:choose</item> 0081 <item>xsl:sort</item> 0082 <item>xsl:otherwise</item> 0083 <item>xsl:key</item> 0084 <item>xsl:variable</item> 0085 <item>xsl:number</item> 0086 <item>xsl:message</item> 0087 <item>xsl:fallback</item> 0088 <item>xsl:strip-space</item> 0089 <item>xsl:import</item> 0090 <item>xsl:preserve-space</item> 0091 <item>xsl:if</item> 0092 <item>xsl:call-template</item> 0093 <item>xsl:attribute-set</item> 0094 </list> 0095 0096 <list name="keytags_2.0"> 0097 <item>xsl:perform-sort</item> 0098 <item>xsl:import-schema</item> 0099 <item>xsl:for-each-group</item> 0100 <item>xsl:sequence</item> 0101 <item>xsl:non-matching-substring</item> 0102 <item>xsl:namespace</item> 0103 <item>xsl:next-match</item> 0104 <item>xsl:function</item> 0105 <item>xsl:analyze-string</item> 0106 <item>xsl:output-character</item> 0107 <item>xsl:matching-substring</item> 0108 <item>xsl:result-document</item> 0109 <item>xsl:character-map</item> 0110 <item>xsl:document</item> 0111 </list> 0112 0113 <list name="functions"> 0114 <item>format-number</item> 0115 <item>position</item> 0116 <item>lang</item> 0117 <item>substring-before</item> 0118 <item>substring</item> 0119 <item>normalize-space</item> 0120 <item>round</item> 0121 <item>translate</item> 0122 <item>starts-with</item> 0123 <item>concat</item> 0124 <item>local-name</item> 0125 <item>key</item> 0126 <item>count</item> 0127 <item>document</item> 0128 <item>system-property</item> 0129 <item>current</item> 0130 <item>boolean</item> 0131 <item>number</item> 0132 <item>contains</item> 0133 <item>name</item> 0134 <item>last</item> 0135 <item>unparsed-entity-uri</item> 0136 <item>sum</item> 0137 <item>generate-id</item> 0138 <item>function-available</item> 0139 <item>element-available</item> 0140 <item>false</item> 0141 <item>substring-after</item> 0142 <item>not</item> 0143 <item>string-length</item> 0144 <item>id</item> 0145 <item>floor</item> 0146 <item>ceiling</item> 0147 <item>namespace-uri</item> 0148 <item>true</item> 0149 <item>string</item> 0150 <item>text</item> 0151 </list> 0152 0153 <list name="functions_2.0"> 0154 <item>zero-or-one</item> 0155 <item>replace</item> 0156 <item>namespace-uri-for-prefix</item> 0157 <item>current-grouping-key</item> 0158 <item>seconds-from-duration</item> 0159 <item>resolve-uri</item> 0160 <item>node-kind</item> 0161 <item>minutes-from-dateTime</item> 0162 <item>implicit-timezone</item> 0163 <item>exactly-one</item> 0164 <item>current-time</item> 0165 <item>current-dateTime</item> 0166 <item>unordered</item> 0167 <item>subtract-dates-yielding-dayTimeDuration</item> 0168 <item>string-join</item> 0169 <item>static-base-uri</item> 0170 <item>months-from-duration</item> 0171 <item>input</item> 0172 <item>exists</item> 0173 <item>default-collation</item> 0174 <item>dateTime</item> 0175 <item>current-group</item> 0176 <item>current-date</item> 0177 <item>collection</item> 0178 <item>timezone-from-time</item> 0179 <item>matches</item> 0180 <item>local-name-from-QName</item> 0181 <item>day-from-date</item> 0182 <item>timezone-from-date</item> 0183 <item>round-half-to-even</item> 0184 <item>month-from-dateTime</item> 0185 <item>month-from-date</item> 0186 <item>hours-from-duration</item> 0187 <item>escape-uri</item> 0188 <item>distinct-values</item> 0189 <item>avg</item> 0190 <item>years-from-duration</item> 0191 <item>unparsed-text</item> 0192 <item>unparsed-entity-public-id</item> 0193 <item>subtract-dateTimes-yielding-dayTimeDuration</item> 0194 <item>subtract-dates-yielding-yearMonthDuration</item> 0195 <item>string-to-codepoints</item> 0196 <item>sequence-node-identical</item> 0197 <item>hours-from-time</item> 0198 <item>hours-from-dateTime</item> 0199 <item>format-time</item> 0200 <item>codepoints-to-string</item> 0201 <item>trace</item> 0202 <item>tokenize</item> 0203 <item>subtract-dateTimes-yielding-yearMonthDuration</item> 0204 <item>subsequence</item> 0205 <item>seconds-from-dateTime</item> 0206 <item>regex-group</item> 0207 <item>one-or-more</item> 0208 <item>node-name</item> 0209 <item>namespace-uri-from-QName</item> 0210 <item>min</item> 0211 <item>idref</item> 0212 <item>format-dateTime</item> 0213 <item>format-date</item> 0214 <item>days-from-duration</item> 0215 <item>compare</item> 0216 <item>base-uri</item> 0217 <item>seconds-from-time</item> 0218 <item>in-scope-prefixes</item> 0219 <item>expanded-QName</item> 0220 <item>adjust-date-to-timezone</item> 0221 <item>year-from-date</item> 0222 <item>resolve-QName</item> 0223 <item>remove</item> 0224 <item>QName</item> 0225 <item>minutes-from-time</item> 0226 <item>max</item> 0227 <item>lower-case</item> 0228 <item>index-of</item> 0229 <item>doc</item> 0230 <item>deep-equal</item> 0231 <item>data</item> 0232 <item>minutes-from-duration</item> 0233 <item>adjust-dateTime-to-timezone</item> 0234 <item>abs</item> 0235 <item>timezone-from-dateTime</item> 0236 <item>reverse</item> 0237 <item>error</item> 0238 <item>ends-with</item> 0239 <item>day-from-dateTime</item> 0240 <item>year-from-dateTime</item> 0241 <item>upper-case</item> 0242 <item>root</item> 0243 <item>normalize-unicode</item> 0244 <item>empty</item> 0245 <item>insert-before</item> 0246 <item>document-uri</item> 0247 <item>adjust-time-to-timezone</item> 0248 </list> 0249 0250 <list name="xsl-attributes"> 0251 <item>select</item> 0252 <item>test</item> 0253 <item>match</item> 0254 </list> 0255 0256 <contexts> 0257 0258 <context name="normalText" attribute="Normal Text" lineEndContext="#stay"> 0259 <DetectSpaces /> 0260 <DetectIdentifier /> 0261 0262 <Detect2Chars context="specialtag" char="<" char1="!" lookAhead="1"/> 0263 <Detect2Chars context="pitag" char="<" char1="?" lookAhead="1"/> 0264 <Detect2Chars attribute="Tag Symbols" context="ElementEndTagName" char="<" char1="/" endRegion="element" /> 0265 <DetectChar attribute="Tag Symbols" context="ElementTagName" char="<" beginRegion="element" /> 0266 0267 <IncludeRules context="FindEntityRefs" /> 0268 </context> 0269 0270 <context name="pitag" attribute="Normal Text" lineEndContext="#stay"> 0271 <RegExpr attribute="PI Symbols" context="#pop!PI TagName" String="<\?(?=([\w:_-]*))" beginRegion="pi" /> 0272 <DetectChar attribute="Invalid" context="#pop" char="<"/> 0273 </context> 0274 0275 <context name="specialtag" attribute="Normal Text" lineEndContext="#stay"> 0276 <StringDetect attribute="Comment" context="#pop!comment" String="<!--" beginRegion="comment"/> 0277 <StringDetect attribute="CDATA" context="#pop!CDATAStart" String="<![CDATA[" lookAhead="1" /> 0278 <RegExpr attribute="Doctype Symbols" context="#pop!DoctypeTagName" String="<!(?=DOCTYPE(\s|$))" beginRegion="doctype" /> 0279 <DetectChar attribute="Invalid" context="#pop" char="<"/> 0280 </context> 0281 0282 <context name="FindEntityRefs" attribute="Normal Text" lineEndContext="#stay"> 0283 <RegExpr attribute="Entity Reference" context="#stay" String="&entref;" /> 0284 <AnyChar attribute="Invalid" context="#stay" String="&<" /> 0285 </context> 0286 0287 <context name="CDATAStart" attribute="Normal Text" lineEndContext="#pop"> 0288 <StringDetect attribute="CDATA Symbols" context="#stay" String="<![" beginRegion="cdata" /> 0289 <StringDetect attribute="CDATA" context="#stay" String="CDATA" /> 0290 <DetectChar attribute="CDATA Symbols" context="#pop!CDATA" char="[" /> 0291 </context> 0292 <context name="CDATA" attribute="Other Text" lineEndContext="#stay"> 0293 <DetectSpaces /> 0294 <DetectIdentifier /> 0295 <StringDetect attribute="CDATA Symbols" context="#pop" String="]]>" endRegion="cdata" /> 0296 <StringDetect attribute="Entity Reference" context="#stay" String="]]&gt;" /> 0297 </context> 0298 0299 <context name="PI TagName" attribute="Other Text" lineEndContext="#pop!PI" fallthrough="true" fallthroughContext="#pop!PI"> 0300 <RegExpr attribute="Processing Instruction" context="#pop!PI-XML" String="xml(?=\s|$)" insensitive="true" /> 0301 <StringDetect attribute="Processing Instruction" context="#pop!PI" String="%1" dynamic="true" /> 0302 </context> 0303 <context name="PI" attribute="Other Text" lineEndContext="#stay"> 0304 <Detect2Chars attribute="PI Symbols" context="#pop" char="?" char1=">" endRegion="pi" /> 0305 </context> 0306 <context name="PI-XML" attribute="Other Text" lineEndContext="#stay"> 0307 <IncludeRules context="PI" /> 0308 <RegExpr attribute="Attribute" context="#stay" String="(?:^|\s+)&name;" /> 0309 <DetectChar attribute="Attribute Separator" context="SpaceBeforeAttrValue" char="=" /> 0310 </context> 0311 0312 <context name="DoctypeTagName" attribute="Other Text" lineEndContext="#pop"> 0313 <StringDetect attribute="Doctype" context="#pop!DoctypeVariableName" String="DOCTYPE" /> 0314 </context> 0315 <context name="DoctypeVariableName" attribute="Other Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop!Doctype"> 0316 <DetectSpaces /> 0317 <RegExpr attribute="Doctype Name" context="#pop!Doctype" String="&name;" /> 0318 </context> 0319 <context name="Doctype" attribute="Other Text" lineEndContext="#stay"> 0320 <DetectChar attribute="Doctype Symbols" context="#pop" char=">" endRegion="doctype" /> 0321 <DetectChar attribute="Doctype Symbols" context="Doctype Internal Subset" char="[" beginRegion="int_subset" /> 0322 </context> 0323 0324 <context name="Doctype Internal Subset" attribute="Other Text" lineEndContext="#stay"> 0325 <DetectChar attribute="Doctype Symbols" context="#pop" char="]" endRegion="int_subset" /> 0326 <RegExpr attribute="Doctype Symbols" context="Doctype Markupdecl TagName" String="<!(?=(ELEMENT|ENTITY|ATTLIST|NOTATION)\b)" /> 0327 <StringDetect attribute="Comment" context="comment" String="<!--" beginRegion="comment" /> 0328 <RegExpr attribute="PI Symbols" context="PI TagName" String="<\?(?=([\w:_-]*))" beginRegion="pi" /> 0329 <IncludeRules context="FindPEntityRefs" /> 0330 </context> 0331 0332 <context name="Doctype Markupdecl TagName" attribute="Other Text" lineEndContext="#pop"> 0333 <StringDetect attribute="Doctype" context="#pop!Doctype Markupdecl VariableName" String="%1" dynamic="true" /> 0334 </context> 0335 <context name="Doctype Markupdecl VariableName" attribute="Other Text" lineEndContext="#pop!Doctype Markupdecl" fallthrough="true" fallthroughContext="#pop!Doctype Markupdecl"> 0336 <DetectSpaces /> 0337 <RegExpr attribute="Doctype Name" context="#pop!Doctype Markupdecl" String="&name;" /> 0338 </context> 0339 <context name="Doctype Markupdecl" attribute="Other Text" lineEndContext="#stay"> 0340 <DetectChar attribute="Doctype Symbols" context="#pop" char=">" /> 0341 <DetectChar attribute="Value" context="Doctype Markupdecl DQ" char=""" /> 0342 <DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="'" /> 0343 </context> 0344 0345 <context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay"> 0346 <DetectChar attribute="Value" context="#pop" char=""" /> 0347 <IncludeRules context="FindPEntityRefs" /> 0348 </context> 0349 0350 <context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay"> 0351 <DetectChar attribute="Value" context="#pop" char="'" /> 0352 <IncludeRules context="FindPEntityRefs" /> 0353 </context> 0354 0355 <context name="FindPEntityRefs" attribute="Normal Text" lineEndContext="#stay"> 0356 <RegExpr attribute="Entity Reference" context="#stay" String="&entref;" /> 0357 <RegExpr attribute="PEntity Reference" context="#stay" String="%&qname;;" /> 0358 <AnyChar attribute="Invalid" context="#stay" String="&%" /> 0359 </context> 0360 0361 <context name="ElementTagName" attribute="Other Text" lineEndContext="#pop!attributes" fallthrough="true" fallthroughContext="#pop"> 0362 <keyword attribute="XSLT Tag" context="#pop!xattributes" String="keytags" /> 0363 <keyword attribute="XSLT 2.0 Tag" context="#pop!xattributes" String="keytags_2.0" /> 0364 <DetectIdentifier context="#pop!attributes" attribute="Tag" /> 0365 </context> 0366 0367 <context name="ElementEndTagName" attribute="Other Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> 0368 <keyword attribute="XSLT Tag" context="#pop!endtag" String="keytags" /> 0369 <keyword attribute="XSLT 2.0 Tag" context="#pop!endtag" String="keytags_2.0" /> 0370 <DetectIdentifier context="#pop!endtag" attribute="Tag" /> 0371 </context> 0372 <context name="endtag" attribute="Other Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> 0373 <DetectChar attribute="Tag Symbols" context="#pop" char=">" /> 0374 <DetectSpaces/> 0375 </context> 0376 0377 <context name="attributes" attribute="Attribute" lineEndContext="#stay"> 0378 <DetectSpaces attribute="Attribute" /> 0379 <Detect2Chars attribute="Tag Symbols" context="#pop" char="/" char1=">" endRegion="element" /> 0380 <DetectChar attribute="Tag Symbols" context="#pop" char=">" /> 0381 <DetectChar attribute="Attribute Separator" context="SpaceBeforeAttrValue" char="=" /> 0382 <DetectIdentifier attribute="Attribute" /> 0383 </context> 0384 0385 <context name="SpaceBeforeAttrValue" attribute="Attribute" lineEndContext="#stay" fallthrough="1" fallthroughContext="#pop!attrValue"> 0386 <DetectSpaces attribute="Attribute" /> 0387 </context> 0388 <context name="attrValue" attribute="Invalid" lineEndContext="#stay"> 0389 <Detect2Chars attribute="Invalid" context="#pop#pop#pop" char="/" char1=">" /> 0390 <DetectChar attribute="Invalid" context="#pop#pop#pop" char=">" /> 0391 <DetectChar attribute="Attribute Value" context="string" char=""" /> 0392 <DetectChar attribute="Attribute Value" context="sqstring" char="'" /> 0393 </context> 0394 0395 <context name="xattributes" attribute="Attribute" lineEndContext="#stay"> 0396 <DetectSpaces attribute="Attribute" /> 0397 <Detect2Chars attribute="Tag Symbols" context="#pop#pop" char="/" char1=">" endRegion="element" /> 0398 <DetectChar attribute="Tag Symbols" context="#pop#pop" char=">" /> 0399 <keyword attribute="XSLT XPath Attribute" context="xattributesSep" String="xsl-attributes" /> 0400 <DetectChar attribute="Attribute Separator" context="SpaceBeforeAttrValue" char="=" /> 0401 <DetectIdentifier attribute="Attribute" /> 0402 </context> 0403 0404 <context name="xattributesSep" attribute="Attribute" lineEndContext="#stay" fallthrough="1" fallthroughContext="#pop"> 0405 <DetectSpaces attribute="Attribute" /> 0406 <DetectChar attribute="Attribute Separator" context="SpaceBeforeXAttrValue" char="=" /> 0407 </context> 0408 <context name="SpaceBeforeXAttrValue" attribute="Attribute" lineEndContext="#stay" fallthrough="1" fallthroughContext="#pop!xattrValue"> 0409 <DetectSpaces attribute="Attribute" /> 0410 </context> 0411 <context name="xattrValue" attribute="Invalid" lineEndContext="#stay"> 0412 <Detect2Chars attribute="Invalid" context="#pop#pop#pop" char="/" char1=">" /> 0413 <DetectChar attribute="Invalid" context="#pop#pop#pop" char=">" /> 0414 <DetectChar attribute="XPath" context="xpath" char=""" /> 0415 <DetectChar attribute="XPath" context="sqxpath" char="'" /> 0416 </context> 0417 0418 0419 <context name="string" attribute="Attribute Value" lineEndContext="#stay"> 0420 <DetectIdentifier /> 0421 <DetectChar attribute="XPath" context="xpath" char="{" /> 0422 <DetectChar attribute="Attribute Value" context="#pop#pop" char=""" /> 0423 <IncludeRules context="FindEntityRefs" /> 0424 </context> 0425 0426 <context name="sqstring" attribute="Attribute Value" lineEndContext="#stay"> 0427 <DetectIdentifier /> 0428 <DetectChar attribute="XPath" context="sqxpath" char="{" /> 0429 <DetectChar attribute="Attribute Value" context="#pop#pop" char="'" /> 0430 <IncludeRules context="FindEntityRefs" /> 0431 </context> 0432 0433 <context name="comment" attribute="Comment" lineEndContext="#stay"> 0434 <DetectSpaces /> 0435 <StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" /> 0436 <RegExpr attribute="Invalid" context="#stay" String="-(-(?!->))+" /> 0437 <IncludeRules context="##Comments" /> 0438 <DetectIdentifier /> 0439 </context> 0440 0441 <context name="xpath" attribute="XPath" lineEndContext="#stay"> 0442 <keyword attribute="XPath/ XSLT Function" context="#stay" String="functions" /> 0443 <keyword attribute="XPath 2.0/ XSLT 2.0 Function" context="#stay" String="functions_2.0" /> 0444 <RegExpr attribute="XPath Axis" context="#stay" String="(&axisname;)::" /> 0445 <DetectChar attribute="XPath" context="#pop" char="}" /> 0446 <DetectChar attribute="XPath String" context="sqxpathstring" char="'" /> 0447 <DetectChar attribute="XPath" context="#pop#pop" char=""" /> 0448 <RegExpr attribute="XPath Attribute" context="#stay" String="@&qname;" /> 0449 <RegExpr attribute="Variable" context="#stay" String="\$&qname;" /> 0450 <RegExpr attribute="XPath" context="#stay" String="&qname;" /> 0451 <DetectChar attribute="Invalid" context="#stay" char="$" /> 0452 <DetectIdentifier /> 0453 <IncludeRules context="FindEntityRefs" /> 0454 </context> 0455 0456 <context name="sqxpath" attribute="XPath" lineEndContext="#stay"> 0457 <keyword attribute="XPath/ XSLT Function" context="#stay" String="functions" /> 0458 <keyword attribute="XPath 2.0/ XSLT 2.0 Function" context="#stay" String="functions_2.0" /> 0459 <RegExpr attribute="XPath Axis" context="#stay" String="(&axisname;)::" /> 0460 <DetectChar attribute="XPath" context="#pop" char="}" /> 0461 <DetectChar attribute="XPath String" context="xpathstring" char=""" /> 0462 <DetectChar attribute="XPath" context="#pop#pop" char="'" /> 0463 <RegExpr attribute="XPath Attribute" context="#stay" String="@&qname;" /> 0464 <RegExpr attribute="Variable" context="#stay" String="\$&qname;" /> 0465 <RegExpr attribute="XPath" context="#stay" String="&qname;" /> 0466 <DetectChar attribute="Invalid" context="#stay" char="$" /> 0467 <DetectIdentifier /> 0468 <IncludeRules context="FindEntityRefs" /> 0469 </context> 0470 0471 <context name="sqxpathstring" attribute="XPath String" lineEndContext="#stay"> 0472 <DetectChar attribute="XPath String" context="#pop" char="'" /> 0473 <DetectIdentifier /> 0474 <IncludeRules context="FindEntityRefs" /> 0475 </context> 0476 0477 <context name="xpathstring" attribute="XPath String" lineEndContext="#stay"> 0478 <DetectChar attribute="XPath String" context="#pop" char=""" /> 0479 <DetectIdentifier /> 0480 <IncludeRules context="FindEntityRefs" /> 0481 </context> 0482 0483 </contexts> 0484 <itemDatas> 0485 <itemData name="Normal Text" defStyleNum="dsNormal"/> 0486 <itemData name="Other Text" defStyleNum="dsNormal" /> 0487 <itemData name="Tag" defStyleNum="dsKeyword" spellChecking="false"/> 0488 <itemData name="Tag Symbols" defStyleNum="dsKeyword" spellChecking="false" /> 0489 <itemData name="Attribute" defStyleNum="dsOthers" spellChecking="false"/> 0490 <itemData name="XSLT XPath Attribute" defStyleNum="dsOthers" spellChecking="false"/> 0491 <itemData name="Attribute Separator" defStyleNum="dsOthers" spellChecking="false"/> 0492 <itemData name="Value" defStyleNum="dsAttribute"/> 0493 <itemData name="Invalid" defStyleNum="dsError" spellChecking="false"/> 0494 <itemData name="Attribute Value" defStyleNum="dsString"/> 0495 <itemData name="XPath" defStyleNum="dsVariable" bold="0" italic="0"/> 0496 <itemData name="XPath String" defStyleNum="dsString"/> 0497 <itemData name="XPath Axis" defStyleNum="dsVariable" bold="0" italic="1"/> 0498 <itemData name="XPath/ XSLT Function" defStyleNum="dsVariable" bold="1" italic="0" spellChecking="false"/> 0499 <itemData name="XPath 2.0/ XSLT 2.0 Function" defStyleNum="dsVariable" bold="1" italic="0" spellChecking="false"/> 0500 <itemData name="XPath Attribute" defStyleNum="dsVariable" bold="0" italic="1" spellChecking="false"/> 0501 <itemData name="Variable" defStyleNum="dsVariable" bold="0" italic="1" spellChecking="false"/> 0502 <itemData name="Comment" defStyleNum="dsComment"/> 0503 <itemData name="XSLT Tag" defStyleNum="dsBuiltIn" bold="1" spellChecking="false"/> 0504 <itemData name="XSLT 2.0 Tag" defStyleNum="dsBuiltIn" bold="1" spellChecking="false"/> 0505 <itemData name="Entity Reference" defStyleNum="dsDecVal" spellChecking="false"/> 0506 0507 <itemData name="CDATA" defStyleNum="dsBaseN" bold="1" spellChecking="false"/> 0508 <itemData name="CDATA Symbols" defStyleNum="dsBaseN" bold="0" italic="0" spellChecking="false" /> 0509 <itemData name="Processing Instruction" defStyleNum="dsKeyword" spellChecking="false"/> 0510 <itemData name="PI Symbols" defStyleNum="dsFunction" bold="0" italic="0" spellChecking="false" /> 0511 <itemData name="Doctype" defStyleNum="dsDataType" bold="1" spellChecking="false"/> 0512 <itemData name="Doctype Name" defStyleNum="dsDataType" bold="0" italic="0" spellChecking="false" /> 0513 <itemData name="Doctype Symbols" defStyleNum="dsDataType" bold="0" italic="0" spellChecking="false" /> 0514 <itemData name="PEntity Reference" defStyleNum="dsDecVal" spellChecking="false"/> 0515 0516 </itemDatas> 0517 </highlighting> 0518 <general> 0519 <comments> 0520 <comment name="multiLine" start="<!--" end="-->" region="comment" /> 0521 </comments> 0522 <keywords casesensitive="0" weakDeliminator="-:" additionalDeliminator=""{}"/> 0523 </general> 0524 </language> 0525 <!-- kate: space-indent on; replace-tabs on; tab-width 2; indent-width 2; -->