Hello there,
I'm using LiveCycle Designer 8.2 to build a form for a survey. My problem is that, as an output, I need my data to be saved on the client's drive as an XML in a specified format that includes the usage of namespaces and attributes. So I added a data connection, specified my XML schema and also an XSLT transformation for the output data.
Then I executed all the bindings, added an export button, and used xfa.host.exportData("",0); on the onclick event, but nothing worked. My output XML file was not transformed by the XSLT.
I tried to apply the instruction xfa.data.applyXSL, but (my fault) I wasn't able to find any working example of this.
Can anyone help?
What am I doing wrong?
Read these articles:
http://acrobatusers.com/tutorials/how-debug-your-script
http://acrobatusers.com/tutorials/why-doesnt-my-script-work
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script