AlainCouthures / xsltforms

XForms to XHTML+Javascript (AJAX) conversion based on a unique XSL transformation. Suitable server-side (PHP) or client-side (Google Chrome, Edge, Internet Explorer, Mozilla FireFox, Opera, Safari) browser treatment where an XSLT 1.0 engine is available
37 stars 17 forks source link

Uncaught ReferenceError: XsltForms_domEngine is not defined #16

Closed nkbl closed 8 years ago

nkbl commented 8 years ago

Is there anything I need, besides build files, for this library to work? (I'm trying to update from r612 to the latest).

AlainCouthures commented 8 years ago

XsltForms_domEngine is a global variable which should be defined by the XSLT stylesheet. It has been introduced recently so it might be that the old stylesheet is still in your browser cache.

Thank you for your feedback!

nkbl commented 8 years ago

How is the XSL file imported from HTML?

AlainCouthures commented 8 years ago

Well, the XSL file is not exactly imported from HTML: there is a processing instruction in the XML source to be interpreted by the browser to call the XSL file which will, then, generated HTML!