<language name="Jinja/XML" version="1771861648" kateversion="5.62" section="Other" extensions="*.page.jinja;*.page.jinja2;*.page.j2;*.docbook.jinja;*.docbook.jinja2;*.docbook.j2;*.xml.jinja;*.xml.jinja2;*.xml.j2;*ui.rc.jinja;*ui.rc.jinja2;*ui.rc.j2;*.daml.jinja;*.daml.jinja2;*.daml.j2;*.rdf.jinja;*.rdf.jinja2;*.rdf.j2;*.rss.jinja;*.rss.jinja2;*.rss.j2;*.xspf.jinja;*.xspf.jinja2;*.xspf.j2;*.xsd.jinja;*.xsd.jinja2;*.xsd.j2;*.svg.jinja;*.svg.jinja2;*.svg.j2;*.ui.jinja;*.ui.jinja2;*.ui.j2;*.kcfg.jinja;*.kcfg.jinja2;*.kcfg.j2;*.qrc.jinja;*.qrc.jinja2;*.qrc.j2;*.wsdl.jinja;*.wsdl.jinja2;*.wsdl.j2;*.scxml.jinja;*.scxml.jinja2;*.scxml.j2;*.xbel.jinja;*.xbel.jinja2;*.xbel.j2;*.dae.jinja;*.dae.jinja2;*.dae.j2;*.sch.jinja;*.sch.jinja2;*.sch.j2;*.brd.jinja;*.brd.jinja2;*.brd.j2;*.fb2.jinja;*.fb2.jinja2;*.fb2.j2" mimetype="text/xml.jinja;text/book.jinja;text/daml.jinja;text/rdf.jinja;application/rss+xml.jinja;application/xspf+xml.jinja;image/svg+xml.jinja;application/x-designer.jinja;application/x-xbel.jinja;application/xml.jinja;application/scxml+xml.jinja;application/vnd.oasis.opendocument.text-flat-xml.jinja;application/vnd.oasis.opendocument.graphics-flat-xml.jinja;application/vnd.oasis.opendocument.presentation-flat-xml.jinja;application/vnd.oasis.opendocument.spreadsheet-flat-xml.jinja;application/gpx+xml.jinja;application/x-fictionbook+xml.jinja" casesensitive="1" indenter="xml" author="Wilbert Berendsen (wilbert@kde.nl)" license="MIT" priority="0" generated="true">





<!--Generated by generate_jinja.py, the Jinja infusion script for KDE Syntax Highlighting-->





<highlighting>
<contexts>
  <context name="Start" attribute="Normal Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <IncludeRules context="FindText" />
    <IncludeRules context="FindElement" />
  </context>

  <context name="FindText" attribute="Normal Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectSpaces />
    <DetectIdentifier />
    <Int />
  </context>

  <context name="FindElement" attribute="Normal Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <RegExpr attribute="Element Symbols" context="ElementTagName" String="&lt;(?=([[:alpha:]_:][\w.:_-]*))" beginRegion="element" />
    <RegExpr attribute="Element Symbols" context="El End TagName" String="&lt;/(?=([[:alpha:]_:][\w.:_-]*))" endRegion="element" />
    <IncludeRules context="FindComment" />
    <StringDetect attribute="CDATA" context="CDATAStart" String="&lt;![CDATA[" lookAhead="true" />
    <RegExpr attribute="Doctype Symbols" context="DoctypeTagName" String="&lt;!(?=DOCTYPE(\s|$))" beginRegion="doctype" />
    <IncludeRules context="FindEntityRefs" />
    <IncludeRules context="FindProcessingInstruction" />
    <IncludeRules context="FindError" />
  </context>

  <context name="FindError" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <IncludeRules context="FindReservedChar" />
    <StringDetect attribute="Error" String="]]&gt;" />
  </context>

  <context name="FindComment" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <StringDetect attribute="Comment" context="Comment" String="&lt;!--" beginRegion="comment" />
  </context>

  <context name="FindEntityRefs" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <RegExpr attribute="EntityRef" context="#stay" String="&amp;(?:#[0-9]+|#[xX][0-9A-Fa-f]+|[[:alpha:]_:][\w.:_-]*);" />
  </context>

  <context name="FindReservedChar" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <AnyChar attribute="Error" context="#stay" String="&amp;&lt;" />
  </context>

  <context name="FindPEntityRefs" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <RegExpr attribute="EntityRef" context="#stay" String="&amp;(?:#[0-9]+|#[xX][0-9A-Fa-f]+|[[:alpha:]_:][\w.:_-]*);" />
    <RegExpr attribute="PEntityRef" context="#stay" String="%[[:alpha:]_:][\w.:_-]*;" />
    <AnyChar attribute="Error" context="#stay" String="&amp;%&lt;" />
  </context>


  <context name="Comment" attribute="Comment" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectSpaces />
    <StringDetect context="EndComment" String="--" lookAhead="1" />
    <IncludeRules context="##Jinja/Comments" />
    <DetectIdentifier />
  </context>
  <context name="EndComment" attribute="Comment" lineEndContext="#pop" fallthroughContext="#pop">
    <IncludeRules context="jinja_boot##Jinja" />
    <StringDetect attribute="Comment" context="#pop#pop" String="--&gt;" endRegion="comment" />
    <DetectChar attribute="Error" char="-" />
  </context>

  <context name="CDATAStart" attribute="Other Text" lineEndContext="#pop">
    <IncludeRules context="jinja_boot##Jinja" />
    <StringDetect attribute="CDATA Symbols" context="#stay" String="&lt;![" beginRegion="cdata" />
    <StringDetect attribute="CDATA" context="#stay" String="CDATA" />
    <DetectChar attribute="CDATA Symbols" context="#pop!CDATA" char="[" />
  </context>
  <context name="CDATA" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectSpaces />
    <DetectIdentifier />
    <StringDetect attribute="CDATA Symbols" context="#pop" String="]]&gt;" endRegion="cdata" />
  </context>

  <context name="FindProcessingInstruction" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <RegExpr attribute="PI Symbols" context="PI TagName" String="&lt;\?(?=([\w:_-]*))" beginRegion="pi" />
  </context>
  <context name="PI TagName" attribute="Other Text" lineEndContext="#pop!PI" fallthroughContext="#pop!PI">
    <IncludeRules context="jinja_boot##Jinja" />
    <RegExpr attribute="Processing Instruction" context="#pop!PI-XML" String="xml(?=\s|$)" insensitive="true" />
    <StringDetect attribute="Processing Instruction" context="#pop!PI" String="%1" dynamic="true" />
  </context>
  <context name="PI" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <Detect2Chars attribute="PI Symbols" context="#pop" char="?" char1="&gt;" endRegion="pi" />
  </context>
  <context name="PI-XML" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <IncludeRules context="PI" />
    <DetectSpaces attribute="Other Text" />
    <DetectChar attribute="Attribute Separator" context="Value" char="=" />
    <RegExpr attribute="Attribute" context="#stay" String="(?:^|(?&lt;=\s))[[:alpha:]_:][\w.:_-]*" />
  </context>

  <context name="DoctypeTagName" attribute="Other Text" lineEndContext="#pop">
    <IncludeRules context="jinja_boot##Jinja" />
    <StringDetect attribute="Doctype" context="#pop!DoctypeVariableName" String="DOCTYPE" />
  </context>
  <context name="DoctypeVariableName" attribute="Other Text" lineEndContext="#stay" fallthroughContext="#pop!Doctype">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectSpaces />
    <RegExpr attribute="Doctype Name" context="#pop!Doctype" String="[[:alpha:]_:][\w.:_-]*" />
  </context>
  <context name="Doctype" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectChar attribute="Doctype Symbols" context="#pop" char="&gt;" endRegion="doctype" />
    <DetectChar attribute="Doctype Symbols" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
  </context>

  <context name="Doctype Internal Subset" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectSpaces />
    <DetectChar attribute="Doctype Symbols" context="#pop" char="]" endRegion="int_subset" />
    <RegExpr attribute="Doctype Symbols" context="Doctype Markupdecl TagName" String="&lt;!(?=(ELEMENT|ENTITY|ATTLIST|NOTATION)\b)" />
    <IncludeRules context="FindComment" />
    <IncludeRules context="FindProcessingInstruction" />
    <IncludeRules context="FindPEntityRefs" />
  </context>

  <context name="Doctype Markupdecl TagName" attribute="Other Text" lineEndContext="#pop">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectIdentifier attribute="Doctype" context="#pop!Doctype Markupdecl VariableName" />
  </context>
  <context name="Doctype Markupdecl VariableName" attribute="Other Text" lineEndContext="#pop!Doctype Markupdecl" fallthroughContext="#pop!Doctype Markupdecl">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectSpaces />
    <DetectChar attribute="Doctype Symbols" char="%" />
    <RegExpr attribute="Doctype Name" context="#pop!Doctype Markupdecl" String="[[:alpha:]_:][\w.:_-]*" />
  </context>
  <context name="Doctype Markupdecl" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectChar attribute="Doctype Symbols" context="#pop" char="&gt;" />
    <DetectChar attribute="Value" context="Doctype Markupdecl DQ" char="&quot;" />
    <DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="'" />
  </context>

  <context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectChar attribute="Value" context="#pop" char="&quot;" />
    <IncludeRules context="FindPEntityRefs" />
  </context>

  <context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectChar attribute="Value" context="#pop" char="'" />
    <IncludeRules context="FindPEntityRefs" />
  </context>

  <context name="ElementTagName" attribute="Other Text" lineEndContext="#pop!Element">
    
    <IncludeRules context="jinja_boot##Jinja" />
    
    <StringDetect attribute="Element" context="#pop!Element" String="%1" dynamic="true" />
  </context>
  
  <context name="Element" attribute="Other Text" lineEndContext="#stay" fallthroughContext="ElementCommonError">
    <IncludeRules context="jinja_boot##Jinja" />
    <Detect2Chars attribute="Element Symbols" context="#pop" char="/" char1="&gt;" endRegion="element" />
    <DetectChar attribute="Element Symbols" context="#pop" char="&gt;" />
    <DetectSpaces attribute="Other Text" />
    
    <RegExpr attribute="Attribute" context="Attribute" String="(?:^|(?&lt;=\s))[[:alpha:]_:][\w.:_-]*" />

    
    
    <DetectChar attribute="Error" context="#pop" char="/" endRegion="element" />
    
    <DetectChar attribute="Error" context="Value" char="=" />
    
    
    <RegExpr attribute="Error" context="Attribute" String="[[:alpha:]_:][\w.:_-]*" />
  </context>

  <context name="El End TagName" attribute="Other Text" lineEndContext="#pop!El End">
    
    <IncludeRules context="jinja_boot##Jinja" />
    
    <StringDetect attribute="Element" context="El End" String="%1" dynamic="true" />
  </context>
  <context name="El End" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectChar attribute="Element Symbols" context="#pop#pop" char="&gt;" />
    <DetectSpaces attribute="Other Text" />
    <IncludeRules context="ElementCommonError" />
  </context>

  
  <context name="Attribute" attribute="Other Text" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectChar attribute="Attribute Separator" context="#pop!Value" char="=" />
    <DetectSpaces attribute="Other Text" />

    
    
    <DetectChar attribute="Error" context="Value DQ" char="&quot;" />
    
    <DetectChar attribute="Error" context="Value SQ" char="'" />
    <IncludeRules context="FindAttributeCommonError" />
  </context>

  
  <context name="Value" attribute="Other Text" lineEndContext="#stay">
    
    <IncludeRules context="jinja_boot##Jinja" />
    
    <DetectChar attribute="Value" context="Value DQ" char="&quot;" />
    
    <DetectChar attribute="Value" context="Value SQ" char="'" />
    <DetectSpaces attribute="Other Text" />
    <IncludeRules context="FindAttributeCommonError" />
  </context>

  
  <context name="FindAttributeCommonError" attribute="Error">
    
    <IncludeRules context="jinja_boot##Jinja" />
    
    <DetectChar attribute="Error" context="#pop#pop" char="&gt;" />
    <StringDetect attribute="Error" context="#pop#pop" String="/&gt;" endRegion="element" />
    
    <DetectChar attribute="Error" context="#pop#pop" char="/" endRegion="element" />
    
    
    <RegExpr attribute="Error" context="#pop!Attribute" String="[[:alpha:]_:][\w.:_-]*(?=\s*=)" />
    
    <IncludeRules context="ElementCommonError" />
  </context>

  <context name="ElementCommonError" attribute="Error">
    
    <IncludeRules context="jinja_boot##Jinja" />
    
    <RegExpr attribute="Error" context="#pop#pop" String="[-\w.:_=]+|[^-\w.:_=/&lt;&gt;\s]+[-\w.:_]*|/&gt;|[^&lt;]" />
    
    
    <RegExpr attribute="Error" context="#pop#pop!Element" String="&lt;[[:alpha:]_:][\w.:_-]*" />
    <StringDetect attribute="Error" context="#pop#pop!Comment" String="&lt;!--" beginRegion="comment" />
    <StringDetect attribute="Error" context="#pop#pop!CDATA" String="&lt;![CDATA[" beginRegion="cdata" />
    <DetectChar attribute="Error" context="#pop#pop" char="&lt;" />
  </context>

  
  <context name="Value DQ" attribute="Value" lineEndContext="#stay">
    
    <IncludeRules context="jinja_boot##Jinja" />
    
    <DetectChar attribute="Value" context="#pop#pop" char="&quot;" />
    <IncludeRules context="ValueQ" />
  </context>

  
  <context name="Value SQ" attribute="Value" lineEndContext="#stay">
    
    <IncludeRules context="jinja_boot##Jinja" />
    
    <DetectChar attribute="Value" context="#pop#pop" char="'" />
    <IncludeRules context="ValueQ" />
  </context>

  
  <context name="ValueQ" attribute="Value" lineEndContext="#stay">
    <IncludeRules context="jinja_boot##Jinja" />
    <DetectIdentifier attribute="Value" />
    <DetectSpaces attribute="Value" />
    <Int attribute="Value" />
    <IncludeRules context="FindEntityRefs" />
    <IncludeRules context="FindReservedChar" />
  </context>

</contexts>
<itemDatas>
  <itemData name="Normal Text" defStyleNum="dsNormal" />
  <itemData name="Other Text" defStyleNum="dsNormal" />
  <itemData name="Comment" defStyleNum="dsComment" spellChecking="true" />
  <itemData name="CDATA" defStyleNum="dsBaseN" bold="1" italic="0" spellChecking="false" />
  <itemData name="CDATA Symbols" defStyleNum="dsBaseN" bold="0" italic="0" spellChecking="false" />
  <itemData name="Processing Instruction" defStyleNum="dsFunction" bold="1" italic="0" spellChecking="false" />
  <itemData name="PI Symbols" defStyleNum="dsFunction" bold="0" italic="0" spellChecking="false" />
  <itemData name="Doctype" defStyleNum="dsDataType" bold="1" italic="0" spellChecking="false" />
  <itemData name="Doctype Name" defStyleNum="dsDataType" bold="0" italic="0" spellChecking="false" />
  <itemData name="Doctype Symbols" defStyleNum="dsDataType" bold="0" italic="0" spellChecking="false" />
  <itemData name="Element" defStyleNum="dsKeyword" spellChecking="false" />
  <itemData name="Element Symbols" defStyleNum="dsNormal" spellChecking="false" />
  <itemData name="Attribute" defStyleNum="dsOthers" spellChecking="false" />
  <itemData name="Attribute Separator" defStyleNum="dsOthers" spellChecking="false" />
  <itemData name="Value" defStyleNum="dsString" spellChecking="false" />
  <itemData name="EntityRef" defStyleNum="dsDecVal" spellChecking="false" />
  <itemData name="PEntityRef" defStyleNum="dsDecVal" spellChecking="false" />
  <itemData name="Error" defStyleNum="dsError" spellChecking="false" />
</itemDatas>

</highlighting>
<general>
  <comments>
    <comment name="multiLine" start="&lt;!--" end="--&gt;" region="comment" />
  </comments>
</general>
</language>