xml.syntax 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # XML syntax highlighting
  2. #
  3. # Author: Petr Kozelka <pkozelka@email.cz>
  4. # http://kozelka.hyperlink.cz
  5. context default
  6. keyword &*; white cyan
  7. spellcheck
  8. context <!-- --> brightgreen
  9. spellcheck
  10. context <! > yellow
  11. keyword '+' brightcyan
  12. keyword "+" brightcyan
  13. keyword whole DOCTYPE white red
  14. keyword whole PUBLIC brightred
  15. keyword whole SYSTEM brightred
  16. keyword whole NDATA brightred
  17. keyword whole CDATA white
  18. keyword whole #PCDATA white
  19. keyword whole EMPTY white
  20. keyword whole #REQUIRED white
  21. keyword whole #IMPLIED white
  22. keyword whole ELEMENT white
  23. keyword whole ENTITY brightred
  24. keyword whole ATTLIST white
  25. keyword whole %*; white cyan
  26. keyword \( lightgray
  27. keyword \) lightgray
  28. keyword \* lightgray
  29. keyword \? lightgray
  30. keyword \+ lightgray
  31. keyword \| lightgray
  32. keyword \, lightgray
  33. spellcheck
  34. context <\?xml \?> white red
  35. context <\? \?> lightgray black
  36. context < > white
  37. keyword \sxmlns\:*\="+" brightred
  38. keyword \sxmlns\="+" brightred
  39. keyword \s*= yellow
  40. keyword '*' brightcyan
  41. keyword "*" brightcyan
  42. spellcheck