Hi, here is a snippet for ~/.ctags.tmcodebrowser to extract ‘named’ and ‘matching’ templates (and mode name if exist) into Code Browser palette.

--regex-XSL=/<xsl:template[ t]+name[ t]*=[ t]*"([^"]+)?("[ t]*mode[ t]*=[ t]*"([^"]+))?/1 3/n,named,named templates/i
--regex-XSL=/<xsl:template[ t]+match[ t]*=[ t]*"([^"]+)?(["][ t]*mode[ t]*=[ t]*"([^"]+))?/1 3/m,matching,matching templates/i

Maybe someone find this this useful.

Thanks, icek!

The forum stripped some backslashes. So if you want to use this: Each of the numbers “1” and “3” in lines 3 and 4 must be preceded by a backslash.

here is on pastie:

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details