CAP XSLT script demo ==================== alert.xml is derived from: https://cap-sources.s3.amazonaws.com/af-amd-en/2015-04-03-13-07-14.xml The xml-stylesheet processing instruction has been removed. A script in the XHTML namespace has been added as a direct child of cap:alert. That script loads cap-xslt-renderer.js, which invokes a WASM XSLT 1.0 processor using the local alert-style.xsl stylesheet. This is deliberately an interoperability experiment, not valid CAP 1.1. The script child is not permitted by the CAP schema. The vendored xslt-polyfill.min.js is xslt_polyfill 1.0.23 from commit 442089b95d1c654fe12c0d9e05a00565816b58c9, licensed under BSD-3-Clause. Its licence is included as LICENSE-xslt-polyfill.txt. Run the demo through an HTTP server. Browser security rules prevent the Fetch API calls required by the demo from working reliably when alert.xml is opened directly from a file:// URL.