Because HTML5 attributes such as @selected are typed, XSLTForms 1.5beta has to avoid potential conflicts: except @id, @style and @class, every attribute for an XForms element is renamed with the "xf-" prefix for HTML5.

HTML5 also considers that custom elements cannot be written with the auto-close notation.

So, you should try again this: <xforms-instance xf-src=""></xforms-instance>

Thank you for your feedback!

--Alain
Le 16 juin 2020 à 14:45, Ryan Riley <[email protected]> a écrit :

I was delighted to find XSLTForms. I noticed you just published the 1.5beta that supports HTML5 documents and have been trying to use it for a recent project.

I was trying to determine whether I could load external XML files using <xforms-instance src="" /> in an HTML5 document, but I receive an error with this approach:



Is this expected? If so, how might I go about replacing the XML document within the <script type="application/xml"></script>, as in the sample hello.htm?

Thank you,
Ryan Riley
[email protected]
_______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support

 
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to