xref: /Universal-ctags/docs/parser-xslt.rst (revision ef3f4dd3db5367e72ae61331f867be0daddb4e21)
123765793SMasatake YAMATO.. _xslt:
223765793SMasatake YAMATO
323765793SMasatake YAMATO======================================================================
423765793SMasatake YAMATOXSLT parser
523765793SMasatake YAMATO======================================================================
623765793SMasatake YAMATO
723765793SMasatake YAMATO:Maintainer: Masatake YAMATO <yamato@redhat.com>
823765793SMasatake YAMATO
9*ef3f4dd3SDoug KearnsThis parser only supports XSLT 1.0.
10*ef3f4dd3SDoug KearnsIf a newer version (2.0 and 3.0) is specified in an input file, ctags
11*ef3f4dd3SDoug Kearnsjust skips the input. With ``--verbose``, ctags prints the detected
12*ef3f4dd3SDoug Kearnsversion of the input file.
1323765793SMasatake YAMATO
14*ef3f4dd3SDoug KearnsScope information generated by the XSLT parser is a bit broken.
15*ef3f4dd3SDoug KearnsCurrently a period (`.`) is used as the separator in nested scopes.
16*ef3f4dd3SDoug KearnsThis is the default separator value in ctags.
1723765793SMasatake YAMATO
18*ef3f4dd3SDoug KearnsWhen the XSLT parser captures a node `<xsl:template match="...">` the
19*ef3f4dd3SDoug Kearnsvalue of the `match` attribute is tagged with kind `matchedTemplate`.
20*ef3f4dd3SDoug KearnsWhen a `matchedTemplate` name is stored as part of the scope information,
21*ef3f4dd3SDoug Kearnsclient tools may be confused because `.` is used both as the scope separator
22*ef3f4dd3SDoug Kearnsand in the XPath match expression.
23