Hello,
You mentioned you have customized
{oxygenInstallDir}\frameworks\schema_documentation\xsl\xsdDocHtml.xsl. This means that the CSS file copied and applied is:
{oxygenInstallDir}\frameworks\schema_documentation\xsl\docHtml.xsl. You could just add your CSS rules inside this file and you wont have to do anything else.
If you don't want the previous approach then please tell me if after you've done your changes, when you look inside the generated HTML, is the "link" to your CSS present there? I expect there is. What I suspect missing is the fact that the CSS file also has to be copied next to the HTML output in order for the link to actually work. There are at least two ways to do that:
- inside xsdDocHtml.xsl there is a template that copies the default CSS file:
Code: Select all
<xsl:template name="copyCSSFile">
<xsl:result-document href="{$cssCopyLocation}" method="text">
<xsl:value-of disable-output-escaping="yes" select="unparsed-text($cssRelativeLocationToXSL,'UTF-8')"/>
</xsl:result-document>
</xsl:template>
You could append inside this template another xsl:result-document that copies the additional CSS. You can put your CSS next to the XSL like we are doing and compose absolute paths based on that assumption.
Best regards,
Alex