XSLT Stylesheet Development#
Important
XSLT stylesheets are stored in the Django database, not just as files. Editing the .xsl file is not enough - you must update the database.
Update Process#
Edit the XSL file in
xslt/(at repository root)Update the database:
cd deployment
source dev-commands.sh
dev-update-xslt
Refresh your browser to see changes
URL Configuration#
The update script automatically patches URLs in the XSLT based on environment variables:
XSLT_DATASET_BASE_URL- Base URL for instrument data filesXSLT_PREVIEW_BASE_URL- Base URL for preview images
Development defaults:
XSLT_DATASET_BASE_URL=https://files.nexuslims-dev.localhost/instrument-data
XSLT_PREVIEW_BASE_URL=https://files.nexuslims-dev.localhost/data