Right now it's just an email submit button, so the PDF comes back to an email address. I can submit the XDP through email instead, but it would be much easier if we could just have two attachments; one as a PDF to file away, and another as XML data to insert into an SQL database.