redundant warning about duplicate include of stylesheet
Posted: Wed Jul 05, 2023 1:30 pm
I am using several XSLT stylesheets that each serve as a main stylesheet but they include other stylesheets that include common/generic templates and functions. Each main stylesheet includes/imports the shared stylesheets only once, but I still get warnings about duplicate imports or includes.
So I have something like this:
main1.xsl
main2.xsl
utils.xsl
The main stylesheets never include/import each other.
What can I do to get rid of this warning, other than suppressing all warnings?
So I have something like this:
main1.xsl
Code: Select all
<xsl:stylesheet ....>
<xsl:include href="utils.xsl"/>
......
</xsl:stylesheet>
Code: Select all
<xsl:stylesheet ....>
<xsl:include href="utils.xsl"/>
......
</xsl:stylesheet>
Code: Select all
<xsl:stylesheet ....>
<xsl:include href="other-utils.xsl"/>
......
</xsl:stylesheet>
What can I do to get rid of this warning, other than suppressing all warnings?