Currently we would like to use FormsPlayer COM with JavaScript inside IE6.
We need help to control FormsPlayer's COM object
locally (let say within .hta script file, and execute form data pickup locally on IE,
using local XML files as data storage or possibly ODBC.
Our target is to show use of xforms with ETSI digital signature
standards (XML). We developed our own COM objects which apply digital
signature and now we are looking for forms processor which would provide data entry and
XML creation. All this shall be clued with javascript code which finally will call COM objects to create digital signature and than submit this data over email or via HTTP to central database.
So far we cannot find any documentation about methods to control FormsPlayer within JavaScript (.hta application) to programm local data acquisition.
Please if you can give us directions to possibly integrate FromsPlayer
in application I described. Can you give a small example?
How to integrate FP for local use with JavaScript and other COM objects (like .hta application)!
Submitted by rdl3 on Fri, 2006-10-27 14:03.

DOM methods and XPath functions
There are two ways that you can interact with formsPlayer, either of which should be able to do what you need.
The first is that you can gain access to any running instance using the method
getInstanceDocument, which is part of the XForms specification (the definition is here). An example of its use is here.The second technique is to write your own XPath functions to manipulate instance data within the XForms data processing model. One example of doing this is discussed in the context of controlling a 3D viewer, which shows how to create inline functions (i.e., functions that are defined in the current source document). It's also possible to create XPath functions which are methods on COM components.