We have an XSL file that declares variables that are used in a number of included XSL files (included via the <xsl:include href="..."/> tag). When editing the included XSL files, IDEA flags these variables as unresolved and they appear as squiggly red project errors in the project tree.
I have tried using the file association feature to resolve these variables and remove the error flags, but with no success.
Is there a way to resolve XSL variables declared in an enclosing file scope? if not, why not?