xref: /Universal-ctags/docs/parser-xslt.rst (revision ef3f4dd3db5367e72ae61331f867be0daddb4e21)
1.. _xslt:
2
3======================================================================
4XSLT parser
5======================================================================
6
7:Maintainer: Masatake YAMATO <yamato@redhat.com>
8
9This parser only supports XSLT 1.0.
10If a newer version (2.0 and 3.0) is specified in an input file, ctags
11just skips the input. With ``--verbose``, ctags prints the detected
12version of the input file.
13
14Scope information generated by the XSLT parser is a bit broken.
15Currently a period (`.`) is used as the separator in nested scopes.
16This is the default separator value in ctags.
17
18When the XSLT parser captures a node `<xsl:template match="...">` the
19value of the `match` attribute is tagged with kind `matchedTemplate`.
20When a `matchedTemplate` name is stored as part of the scope information,
21client tools may be confused because `.` is used both as the scope separator
22and in the XPath match expression.
23