IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

XSLT file associations

Last modified: 11 February 2024

File Associations are used to associate an XSLT file with other XML files. This is currently used for three purposes:

  • Enhanced completion for element- and attribute names in XSLT node-selections. The completion will offer all element- and tag names that are found in the associated documents.

  • Enhanced error highlighting for XSLT node-selections. If an XSLT script has been associated with one or more XML files, any references to element- and attribute names that are not part of the associated files fill be flagged with the warning message: "Tag name '...' is not part of the document".

  • File Associations are also used for creating Run Configurations. The XML input file to use for the transformation can be conveniently chosen from the list of associated files.

XSLT File Associations are defined per project and managed on the XSLT File Associations page of the Settings dialog.