I have an xml file with just a worksheet in it that is being rendered with reportjs. There are many of these separate xml files for different reports that are being generated and every single one has it's own <styleSheet>
tag with a bunch of duplicated code.
In this format:
<worksheet>
...custom report...
</worksheet>
<styleSheet>
...tonnes of duplicated styling...
</styleSheet>
I want to pull that <styleSheet>
code into a separate file and create a standard set of styles that I can then import into each report.
I have tried:
<!DOCTYPE doc [
<!ENTITY customStyles SYSTEM "./style.xml">
]>
&customStyles;
where &customStyles
is in many places with no luck and I have also tried using many of the jsreport features with no luck.
How can I simply inline import a stylesheet into each of these reports?