<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="Django HTML Template" version="9" kateversion="5.79" section="Markup" extensions="*.htm;*.html" mimetype="text/html" author="Matthew Marshall (matthew@matthewmarshall.org)" license="LGPL" priority="9"><highlighting><list name="blocktags"><item>autoescape</item><item>block</item><item>blocktrans</item><item>for</item><item>if</item><item>ifchanged</item><item>ifequal</item><item>ifnotequal</item><item>spaceless</item></list><list name="endblocktags"><item>endautoescape</item><item>endblock</item><item>endblocktrans</item><item>endfor</item><item>endif</item><item>endifchanged</item><item>endifequal</item><item>endifnotequal</item><item>endspaceless</item></list><contexts><context name="Start" attribute="Normal Text"><RegExpr String="\{%\s*end[a-z]+\s*%\}" attribute="Mismatched Block Tag"/><IncludeRules context="FindTemplate"/><IncludeRules context="FindHTML"/></context><context name="FindTemplate" attribute="Normal Text"><RegExpr String="\{%\s*comment\s*%\}" attribute="Template Comment" context="Template Comment" beginRegion="templatecomment"/><StringDetect String="{{" attribute="Template Var" context="Template Var"/><StringDetect String="{%" attribute="Template Tag" context="Template Tag"/></context><context name="El Close" attribute="Error"><DetectChar char=">" attribute="Element" context="#pop"/><DetectSpaces attribute="Normal Text"/></context><context name="El Open" attribute="Error"><StringDetect String="/>" attribute="Element" context="#pop"/><DetectChar char=">" attribute="Element" context="#pop"/><IncludeRules context="FindAttributes"/><DetectSpaces attribute="Normal Text"/><IncludeRules context="FindTemplate"/></context><context name="FindEntityRefs" attribute="Normal Text"><RegExpr String="&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|[A-Za-z_:][\w.:_-]*);" attribute="EntityRef"/><AnyChar String="&amp;&lt;" attribute="Error"/></context><context name="FindAttributes" attribute="Normal Text"><DetectChar char="=" attribute="Attribute" context="Value"/><RegExpr String="^[A-Za-z_:][\w.:_-]*|\s+[A-Za-z_:][\w.:_-]*" attribute="Attribute"/></context><context name="FindPEntityRefs" attribute="Normal Text"><RegExpr String="&amp;(#[0-9]+|#[xX][0-9A-Fa-f]+|[A-Za-z_:][\w.:_-]*);" attribute="EntityRef"/><RegExpr String="%[A-Za-z_:][\w.:_-]*;" attribute="PEntityRef"/><AnyChar String="&amp;%" attribute="Error"/></context><context name="Comment" attribute="Comment"><DetectSpaces/><IncludeRules context="##Comments"/><IncludeRules context="FindTemplate"/><DetectIdentifier/><StringDetect String="-->" attribute="Comment" context="#pop" endRegion="comment"/></context><context name="FindDTDRules" attribute="Normal Text"><RegExpr String="&lt;!(ELEMENT|ENTITY|ATTLIST|NOTATION)\b" attribute="Doctype" context="Doctype Markupdecl"/></context><context name="FindHTML" attribute="Normal Text"><DetectSpaces/><DetectIdentifier/><StringDetect String="&lt;!--" attribute="Comment" context="Comment" beginRegion="comment"/><StringDetect String="&lt;![CDATA[" attribute="CDATA" context="CDATA" beginRegion="cdata"/><WordDetect String="&lt;!DOCTYPE" attribute="Doctype" context="Doctype" beginRegion="doctype"/><RegExpr String="&lt;\?[\w:-]*" attribute="Processing Instruction" context="PI" beginRegion="pi"/><WordDetect String="&lt;style" attribute="Element" context="CSS" beginRegion="style" insensitive="1"/><WordDetect String="&lt;script" attribute="Element" context="JS" beginRegion="script" insensitive="1"/><WordDetect String="&lt;pre" attribute="Element" context="El Open" beginRegion="pre" insensitive="1"/><WordDetect String="&lt;div" attribute="Element" context="El Open" beginRegion="div" insensitive="1"/><WordDetect String="&lt;table" attribute="Element" context="El Open" beginRegion="table" insensitive="1"/><RegExpr String="&lt;[A-Za-z_:][\w.:_-]*" attribute="Element" context="El Open"/><WordDetect String="&lt;/pre" attribute="Element" context="El Close" endRegion="pre" insensitive="1"/><WordDetect String="&lt;/div" attribute="Element" context="El Close" endRegion="div" insensitive="1"/><WordDetect String="&lt;/table" attribute="Element" context="El Close" endRegion="table" insensitive="1"/><RegExpr String="&lt;/[A-Za-z_:][\w.:_-]*" attribute="Element" context="El Close"/><IncludeRules context="FindDTDRules"/><IncludeRules context="FindEntityRefs"/></context><context name="In Template Tag" attribute="Template Tag Argument"><StringDetect String="%}" attribute="Template Tag" context="#pop#pop"/><DetectChar char="'" attribute="Template String" context="Single A-string"/><DetectChar char='"' attribute="Template String" context="Single Q-string"/><StringDetect String="{{" attribute="Error"/><StringDetect String="{%" attribute="Error"/><StringDetect String="}}" attribute="Error"/></context><context name="PI" attribute="Normal Text"><StringDetect String="?>" attribute="Processing Instruction" context="#pop" endRegion="pi"/></context><context name="Single A-string" attribute="Template String"><HlCStringChar attribute="Template String"/><DetectChar char="'" attribute="Template String" context="#pop"/></context><context name="Single Q-string" attribute="Template String"><HlCStringChar attribute="Template String"/><DetectChar char='"' attribute="Template String" context="#pop"/></context><context name="CDATA" attribute="Normal Text"><DetectSpaces/><DetectIdentifier/><StringDetect String="]]>" attribute="CDATA" context="#pop" endRegion="cdata"/></context><context name="CSS" attribute="Error"><StringDetect String="/>" attribute="Element" context="#pop" endRegion="style"/><DetectChar char=">" attribute="Element" context="CSS content"/><IncludeRules context="FindAttributes"/><IncludeRules context="FindTemplate"/><DetectSpaces attribute="Normal Text"/></context><context name="CSS content" attribute="Normal Text"><WordDetect String="&lt;/style" attribute="Element" context="#pop#pop!El Close" endRegion="style" insensitive="1"/><IncludeRules context="FindTemplate"/><IncludeRules context="##CSS" includeAttrib="1"/></context><context name="Doctype" attribute="Normal Text"><DetectChar char=">" attribute="Doctype" context="#pop" endRegion="doctype"/><DetectChar char="[" attribute="Doctype" context="Doctype Internal Subset" beginRegion="int_subset"/></context><context name="Doctype Internal Subset" attribute="Normal Text"><DetectChar char="]" attribute="Doctype" context="#pop" endRegion="int_subset"/><IncludeRules context="FindDTDRules"/><StringDetect String="&lt;!--" attribute="Comment" context="Comment" beginRegion="comment"/><RegExpr String="&lt;\?[\w:-]*" attribute="Processing Instruction" context="PI" beginRegion="pi"/><IncludeRules context="FindPEntityRefs"/></context><context name="Doctype Markupdecl" attribute="Normal Text"><DetectChar char=">" attribute="Doctype" context="#pop"/><DetectChar char='"' attribute="Value" context="Doctype Markupdecl DQ"/><DetectChar char="'" attribute="Value" context="Doctype Markupdecl SQ"/></context><context name="Doctype Markupdecl DQ" attribute="Value"><DetectChar char='"' attribute="Value" context="#pop"/><IncludeRules context="FindPEntityRefs"/></context><context name="Doctype Markupdecl SQ" attribute="Value"><DetectChar char="'" attribute="Value" context="#pop"/><IncludeRules context="FindPEntityRefs"/></context><context name="Found Block Tag" attribute="Template Tag"><RegExpr String="([A-Za-z_:][\w.:_-]*)" attribute="Template Tag" context="In Block Tag"/></context><context name="In Block" attribute="Normal Text"><RegExpr String="\{%\s*end[a-z]+\s*%\}" context="#pop" lookAhead="1"/><IncludeRules context="FindTemplate"/><IncludeRules context="FindHTML"/></context><context name="In Block Tag" attribute="Template Tag Argument"><RegExpr String="\{%\s*end%1\s*%\}" attribute="Template Tag" context="#pop#pop#pop" dynamic="1"/><RegExpr String="\{%\s*end[a-z]+\s*%\}" context="Non Matching Tag" lookAhead="1"/><StringDetect String="%}" attribute="Template Tag" context="In Block"/><IncludeRules context="In Template Tag"/></context><context name="JS" attribute="Error"><StringDetect String="/>" attribute="Element" context="#pop" endRegion="script"/><DetectChar char=">" attribute="Element" context="JS content"/><IncludeRules context="FindTemplate"/><IncludeRules context="FindAttributes"/><DetectSpaces attribute="Normal Text"/></context><context name="JS comment close" attribute="Comment" lineEndContext="#pop"><WordDetect String="&lt;/script" attribute="Element" context="#pop#pop#pop!El Close" endRegion="script" insensitive="1"/><IncludeRules context="FindTemplate"/><IncludeRules context="##Comments"/></context><context name="JS content" attribute="Normal Text"><WordDetect String="&lt;/script" attribute="Element" context="#pop#pop!El Close" endRegion="script" insensitive="1"/><RegExpr String="//(?=.*&lt;/script\b)" attribute="Comment" context="JS comment close" insensitive="1"/><IncludeRules context="FindTemplate"/><IncludeRules context="Normal##JavaScript" includeAttrib="1"/></context><context name="Non Matching Tag" attribute="Template Tag"><keyword String="endblocktags" attribute="Mismatched Block Tag" context="#pop"/><DetectIdentifier attribute="Template Tag" context="#pop"/></context><context name="Template Comment" attribute="Template Comment"><RegExpr String="\{%\s*endcomment\s*%\}" attribute="Template Comment" context="#pop" endRegion="templatecomment"/><DetectSpaces/><IncludeRules context="##Comments"/></context><context name="Template Filter" attribute="Template Filter"><StringDetect String="}}" attribute="Template Var" context="#pop#pop"/><DetectChar char="'" attribute="Template String" context="Single A-string"/><DetectChar char='"' attribute="Template String" context="Single Q-string"/><StringDetect String="{{" attribute="Error"/><StringDetect String="{%" attribute="Error"/><StringDetect String="%}" attribute="Error"/></context><context name="Template Tag" attribute="Template Tag"><keyword String="blocktags" attribute="Template Tag" context="Found Block Tag" lookAhead="1"/><DetectIdentifier attribute="Template Tag" context="In Template Tag"/></context><context name="Template Var" attribute="Template Var"><StringDetect String="}}" attribute="Template Var" context="#pop"/><DetectChar char="|" attribute="Template Filter" context="Template Filter"/><StringDetect String="{{" attribute="Error"/><StringDetect String="{%" attribute="Error"/><StringDetect String="%}" attribute="Error"/></context><context name="Value" attribute="Normal Text" fallthroughContext="Value NQ"><DetectChar char='"' attribute="Value" context="Value DQ"/><DetectChar char="'" attribute="Value" context="Value SQ"/><DetectSpaces/></context><context name="Value DQ" attribute="Value"><DetectChar char='"' attribute="Value" context="#pop#pop"/><IncludeRules context="FindTemplate"/><IncludeRules context="FindEntityRefs"/></context><context name="Value NQ" attribute="Normal Text" fallthroughContext="#pop#pop" lineEndContext="#pop#pop"><IncludeRules context="FindEntityRefs"/><IncludeRules context="FindTemplate"/><RegExpr String="/(?!>)|[^/>&lt;&#34;'\s]" attribute="Value"/></context><context name="Value SQ" attribute="Value"><DetectChar char="'" attribute="Value" context="#pop#pop"/><IncludeRules context="FindTemplate"/><IncludeRules context="FindEntityRefs"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="CDATA" defStyleNum="dsBaseN" bold="1"/><itemData name="Processing Instruction" defStyleNum="dsKeyword"/><itemData name="Doctype" defStyleNum="dsDataType" bold="1"/><itemData name="Element" defStyleNum="dsKeyword"/><itemData name="Attribute" defStyleNum="dsOthers"/><itemData name="Value" defStyleNum="dsString"/><itemData name="EntityRef" defStyleNum="dsDecVal"/><itemData name="PEntityRef" defStyleNum="dsDecVal"/><itemData name="Error" defStyleNum="dsError"/><itemData name="Template Var" defStyleNum="dsFunction"/><itemData name="Template Tag" defStyleNum="dsFunction"/><itemData name="Template Tag Argument" defStyleNum="dsFunction"/><itemData name="Template String" defStyleNum="dsString"/><itemData name="Template Comment" defStyleNum="dsComment"/><itemData name="Template Filter" defStyleNum="dsOthers"/><itemData name="Mismatched Block Tag" defStyleNum="dsError"/></itemDatas></highlighting><general><comments><comment name="multiLine" start="{% comment %}" end="{% endcomment %}" region="templatecomment"/></comments></general></language>