HTML by default; XML in maintenance mode [5WU4]
Chrome and other major browser vendors are removing XSLT support. For this reason we have decided (as previously warned) to move away from XSLT and XML, and to emit HTML directly. This entails a variety of changes to our tool:
- We have gated the emission of XML behind a flag. To emit XML, use
forester build --emit-xml. - If you use the XML mode, you will need to manually run an XSLT processor (like
xsltproc) before viewing or deploying their forest. Here’s a script you can use:#!/usr/bin/env bash # Generate output/FOO/index.html for each output/FOO/index.xml set -e XSL_FILE="output/default.xsl" for xml in output/*/index.xml; do [ -f "$xml" ] || continue html="${xml%index.xml}index.html" echo "Generating $html ..." xsltproc "$XSL_FILE" "$xml" > "$html" & done cp output/index/index.html output/index.html wait echo "✅ All index.html files generated under output/." - The XML renderer and the respective stylesheet are in maintenance mode and will fall behind in features as we continue to improve the HTML UI.