home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / unix / vim-6.2.tar.bz2 / vim-6.2.tar / vim62 / runtime / syntax / xslt.vim < prev    next >
Encoding:
Text File  |  2001-09-28  |  2.2 KB  |  64 lines

  1. " Vim syntax file
  2. " Language:    XSLT
  3. " Maintainer:    Johannes Zellner <johannes@zellner.org>
  4. " Last Change:    Fri, 28 Sep 2001 11:07:06 +0200
  5. " Filenames:    *.xsl
  6. " URL:        http://www.zellner.org/vim/syntax/xslt.vim
  7. " $Id: xslt.vim,v 1.3 2001/09/28 09:07:38 joze Exp $
  8.  
  9. " REFERENCES:
  10. "   [1] http://www.w3.org/TR/xslt
  11. "
  12.  
  13. " Quit when a syntax file was already loaded
  14. if exists("b:current_syntax")
  15.     finish
  16. endif
  17.  
  18. runtime syntax/xml.vim
  19.  
  20. syn cluster xmlTagHook add=xslElement
  21. syn case match
  22.  
  23. syn match xslElement '\%(xsl:\)\@<=apply-imports'
  24. syn match xslElement '\%(xsl:\)\@<=apply-templates'
  25. syn match xslElement '\%(xsl:\)\@<=attribute'
  26. syn match xslElement '\%(xsl:\)\@<=attribute-set'
  27. syn match xslElement '\%(xsl:\)\@<=call-template'
  28. syn match xslElement '\%(xsl:\)\@<=choose'
  29. syn match xslElement '\%(xsl:\)\@<=comment'
  30. syn match xslElement '\%(xsl:\)\@<=copy'
  31. syn match xslElement '\%(xsl:\)\@<=copy-of'
  32. syn match xslElement '\%(xsl:\)\@<=decimal-format'
  33. syn match xslElement '\%(xsl:\)\@<=document'
  34. syn match xslElement '\%(xsl:\)\@<=element'
  35. syn match xslElement '\%(xsl:\)\@<=fallback'
  36. syn match xslElement '\%(xsl:\)\@<=for-each'
  37. syn match xslElement '\%(xsl:\)\@<=if'
  38. syn match xslElement '\%(xsl:\)\@<=include'
  39. syn match xslElement '\%(xsl:\)\@<=import'
  40. syn match xslElement '\%(xsl:\)\@<=key'
  41. syn match xslElement '\%(xsl:\)\@<=message'
  42. syn match xslElement '\%(xsl:\)\@<=namespace-alias'
  43. syn match xslElement '\%(xsl:\)\@<=number'
  44. syn match xslElement '\%(xsl:\)\@<=otherwise'
  45. syn match xslElement '\%(xsl:\)\@<=output'
  46. syn match xslElement '\%(xsl:\)\@<=param'
  47. syn match xslElement '\%(xsl:\)\@<=processing-instruction'
  48. syn match xslElement '\%(xsl:\)\@<=preserve-space'
  49. syn match xslElement '\%(xsl:\)\@<=script'
  50. syn match xslElement '\%(xsl:\)\@<=sort'
  51. syn match xslElement '\%(xsl:\)\@<=strip-space'
  52. syn match xslElement '\%(xsl:\)\@<=stylesheet'
  53. syn match xslElement '\%(xsl:\)\@<=template'
  54. syn match xslElement '\%(xsl:\)\@<=transform'
  55. syn match xslElement '\%(xsl:\)\@<=text'
  56. syn match xslElement '\%(xsl:\)\@<=value-of'
  57. syn match xslElement '\%(xsl:\)\@<=variable'
  58. syn match xslElement '\%(xsl:\)\@<=when'
  59. syn match xslElement '\%(xsl:\)\@<=with-param'
  60.  
  61. hi def link xslElement Statement
  62.  
  63. " vim: ts=8
  64.