Changes

Reporting

216 bytes added, 15:09, 22 November 2017
/* Editing the stylesheet */
Our default stylesheet will be located under '''LocalState/Reports/Stylesheet'''. If the stylesheet file or folders do not exist yet, our default stylesheet will be copied to this location upon app startup. The file will never be overwritten again by the default stylesheet, so it is safe to customize the contents of this file to your liking. To revert your changes quickly, you can simply delete the file again, and it will be regenerated once a new report is created, or the app is restarted.
To edit the stylesheet, simply open it with your favorite code editor or notepad. We suggest that you familiarize yourself with the XSLT (as well as HTML) syntax and functions before trying to make changes to this file. You can find an introductory tutorial to XSLT [https://www.w3schools.com/xml/xsl_intro.asp here]. Additionally, we have included comments inside the default stylesheet to clarify some of the code. Using XSLT, you can create templates for each individual XML element. To style these templates, you may use external CSS files (or inline CSS styles in HTML). For convenience, we have included an external CSS stylesheet within this XSLT file. To view the changes you have made to the stylesheet, simply reload the report in your browser, or create a new one.
39
edits