Hi, Everyone,
with the xfa.host.exportData("", 0); method it is possible to export user entered data into an xml file. In my case, the form itself needs to be connected to an xsd, but the output xml file must also contain a reference to a specific xslt file.
My question is how to make sure that this reference to the xslt file is contained within the output xml file?
Thanks in advance
Martin
There is another problem with the JavaScript function. It's restricted. The XFA Object reference is pretty poor when it come to listing security issues, but this function has exactly the same problem as the "doc.exportXFAData" function in the Acrobat JavaScript reference. Look it up. In fact, it is the same function. For the most part the XFA host domain simply calls existing functions in Acrobat JavaScript.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script