XSL Tooling extends the existing content assistance support of the XML Editor to provide content assistance for several XSL namespace attributes. The content assistance provided covers the available XPath statements as defined in the XPath Templates preference page.
The elements and attributes that have content assist available are as follows:
template - The template element has several content assist options available for the match, name, and mode attributes.
Add image showing template completion.
variable and param - The variable and param elements have content assist for xpath, axis, parmaters and variables that have already been predefined when using the optional select attribute.
Add image showing variable completion.
if and when - The if and when elements have content assist for the test attribute. This content assistance is available for all paramaters and variables that are in scope, as well as any available xpath or axis statement.
Add image showing test completion.
apply-template - The apply template has content assistance for both the mode and select attributes.
Add image showing apply-template completion.
Currently XPath 2.0 is not supported directly. However, a user can add this support if they need it by adding the missing XPath functions to the XPath Templates.