I\'m using pdftk to fill in a PDF form with an XFDF file. However, for this project I do not know in advance what fields will be present, so I need to analyse the PDF itself
I can get my client to export the XFDF file (which contains field names) using Acrobat along with the PDF, which avoids this problem completely.