12345678910111213141516171819202122232425262728293031323334353637 |
- <?xml version="1.0"?>
- <!-- $Id: xml.xml,v 1.1 2007/06/03 02:35:28 ssttoo Exp $ -->
- <highlight lang="xml" case="no">
- <authors>
- <author name="Andrey Demenev" email="demenev@gmail.com"/>
- </authors>
- <default innerClass="code" />
- <region name="cdata" delimClass="comment" innerClass="comment"
- start="\<\!\[CDATA\[" end="\]\]\>">
- </region>
- <region name="comment" delimClass="comment" innerClass="comment"
- start="\<!--" end="--\>">
- </region>
- <region name="tag" delimClass="brackets" innerClass="code" start="\<[\?\/]?" end="[\/\?]?\>">
- <contains block="tagname"/>
- <contains region="param"/>
- <contains block="paramname"/>
- </region>
- <block name="tagname" match="(?<=[\<\/?])[\w\-\:]+" innerClass="reserved" contained="yes"/>
- <block name="paramname" match="[\w\-\:]+" innerClass="var" contained="yes"/>
- <block name="entity" match="(&|%)[\w\-\.]+;" innerClass="special" />
- <region name="param" start=""" end=""" delimClass="quotes" innerClass="string" contained="yes">
- <contains block="entity"/>
- </region>
- </highlight>
|