xml.xml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0"?>
  2. <!-- $Id: xml.xml,v 1.1 2007/06/03 02:35:28 ssttoo Exp $ -->
  3. <highlight lang="xml" case="no">
  4. <authors>
  5. <author name="Andrey Demenev" email="demenev@gmail.com"/>
  6. </authors>
  7. <default innerClass="code" />
  8. <region name="cdata" delimClass="comment" innerClass="comment"
  9. start="\&lt;\!\[CDATA\[" end="\]\]\&gt;">
  10. </region>
  11. <region name="comment" delimClass="comment" innerClass="comment"
  12. start="\&lt;!--" end="--\&gt;">
  13. </region>
  14. <region name="tag" delimClass="brackets" innerClass="code" start="\&lt;[\?\/]?" end="[\/\?]?\&gt;">
  15. <contains block="tagname"/>
  16. <contains region="param"/>
  17. <contains block="paramname"/>
  18. </region>
  19. <block name="tagname" match="(?&lt;=[\&lt;\/?])[\w\-\:]+" innerClass="reserved" contained="yes"/>
  20. <block name="paramname" match="[\w\-\:]+" innerClass="var" contained="yes"/>
  21. <block name="entity" match="(&amp;|%)[\w\-\.]+;" innerClass="special" />
  22. <region name="param" start="&quot;" end="&quot;" delimClass="quotes" innerClass="string" contained="yes">
  23. <contains block="entity"/>
  24. </region>
  25. </highlight>