Re: [Xsltforms-support] External sources in 1.5beta
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2020-06-16 13:08:14
|
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> 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. </div> <div> <br> </div> <div> HTML5 also considers that custom elements cannot be written with the auto-close notation. </div> <div> <br> </div> <div> So, you should try again this: <xforms-instance xf-src="..."></xforms-instance> </div> <div> <br> </div> <div> Thank you for your feedback! </div> <div> <br> </div> <div> --Alain </div> <blockquote type="cite"> Le 16 juin 2020 à 14:45, Ryan Riley <rya...@li...> a écrit : <br> <br> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> 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. </div> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> <br> </div> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> 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: </div> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> <br> </div> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> <img id="a02a5b6f-708b-47e9-bfc3-4d94046406a1" src="cid:a02a5b6f-708b-47e9-bfc3-4d94046406a1" style="max-width: 100%;"> <br> </div> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> <br> </div> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> 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? </div> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> <br> </div> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> Thank you, </div> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> Ryan Riley </div> <div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> rya...@li... </div>_______________________________________________ Xsltforms-support mailing list Xsl...@li... https://lists.sourceforge.net/lists/listinfo/xsltforms-support </blockquote> <div class="default-style"> <br> </div> </body> </html> |