I am working with an XSL file that converts to PDF. The top of the page contains a lengthy CSS style declaration:
<xsl:attribute-set name="Header">
<xsl:attribute name="font-size">
<xsl:value-of select="$font-size"/>
</xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
<xsl:attribute name="text-align">center</xsl:attribute>
</xsl:attribute-set>
...
Due to long rendering times, I decided to copy this style into a new page named PDF_style.xsl in a different location. I then included it using:
<xsl:include href="../allStyles/PDF_style.xsl"/>
However, when testing it, the system returns an error saying it cannot find the file at that location.
Just to clarify, allStyles is the folder where all my stylesheet files are stored and the path provided is correct.
Is <xsl:include href="..." />
the correct method to link an external file, or should I be using something else?