# Code completion in XSLT

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/go/2026.3/llms.txt).

With Code Completion being one of the key features of GoLand, the plugin provides several possibilities to complete keywords, predefined functions, variables, and parameters used in XPath expressions, template names and names of parameters that can be passed to a template invocation.

## Before you start

Install and enable the XPathView + XSLT plugin on the Settings | Plugins page, as described in [Installing plugins from
JetBrains Marketplace](managing-plugins.html#install_plugin_from_repo).

## Completion in XPath expressions

It's possible to complete all parameters/variables in scope inside an XPath expression in a normal expression attribute or inside an [attribute value template](http://www.w3.org/TR/xslt#attribute-value-templates)

Also, all predefined functions and keywords are available for completion, including function signatures.

![Function Completion](https://resources.jetbrains.com/help/img/idea/2026.3/function-completion.png)

The [Quick Documentation Lookup](documenting-xslt.html) also works in completion lookup lists.

## Completion for template names in xsl:call-template

The template's name that is to be called can be completed from a list of all named templates in the current document and included Style Sheets.

![Template Name Completion](https://resources.jetbrains.com/help/img/idea/2026.3/template-completion.png)

## Completion for template parameters

There's a special completion for parameters that should be passed to a template in a `xsl:call-template` invocation. The completion lists all parameters that are declared by the template and are not yet present in the argument list of the invocation, it means there's no `xsl:with-param` yet.

![Parameter Completion](https://resources.jetbrains.com/help/img/idea/2026.3/param-completion.png)

> **Tip:**
> That's especially useful when also using completion to create the `xsl:with-param` tag, because this will automatically trigger the completion for the parameter's name that is required according to the schema; for example,
>
>
>
> `<xsl:with-p` <ctrl-space>
>
>
>
> =>
>
>
>
> `<xsl:with-param name="`[lookup list]`"`

