Open midijohnny opened 6 days ago
How do you intend to use XSLTForms via CDN?
Even if it was available on github.io (or some other CDN),
<?xml-stylesheet type="text/xsl" href="https://xyz.github.io/xsltforms/xsltforms.xsl"?>
could not be used in XForms documents from different origins. For example, Google Chrome refuses to load it:
Unsafe attempt to load URL https://xyz.github.io/xsltforms/xsltforms.xsl from frame with URL https://other.domain/xforms.xml. Domains, protocols and ports must match.
This is request to provide XSLTForms with a CDN link. One way to consider doing this: enable 'github pages' for this project (or setup a separate dedicated one).
I notice that github serves XML as 'text/plain' (which means XSLTForms won't load in my browser), but 'github pages' serves the same resource as 'xml/application' which works.
Using 'github pages' means you could also put working examples for XForms directly in the project.
Notes: