Hi, I have a form that uses the getInstanceDocument() function. It works fine in all the browsers I have tried except Internet Explorer versions 8, 9 and 11 (haven't tried 10).
I am using build r595. A test form is provided below. Obviously I can't test if any of the XSLTForms functions for manipulating instances in IE. Should I be doing something different to get the form working in IE? Any help would be very much appreciated. Thanks Mark <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="../xsltforms/xsltforms.xsl" type="text/xsl"?> <?xsltforms-options debug="yes"?> <?css-conversion no?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events"> <head> <title>4.8.1.a getInstanceDocument() method (non-normative)</title> <script type="text/javascript"> function init() { var model = document.getElementById('my_model1'); var inst1 = model.getInstanceDocument('my_data1'); var my_color = inst1.getElementsByTagName('color')[0]; alert(my_color.textContent); } </script> <xforms:model id="my_model1"> <xforms:instance id="my_data1" xmlns=""> <car> <color>blue</color> </car> </xforms:instance> </xforms:model> </head> <body onload="init()"> <xforms:group> <xforms:label class="title">4.8.1.a getInstanceDocument() method (non-normative)</xforms:label> </xforms:group> <xforms:group> <p> This test case uses Javascript to execute the getInstanceDocument() method. You may have seen a message box with the value "<xforms:output ref="color"/>". </p> </xforms:group> </body> </html> ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
