Need to read Adobe XML form data into VB.NET Dataset
When user clicks the submit button on an interactive form, the corresponding email sends a xml data form to the intended recipent. Need best way to interpret the XML form data and import it into a VB.NET dataset table then save the table back to an Oracle database.
Visual Basic.NET.NET ProgrammingAdobe Acrobat
Last Comment
Eric Burton
8/22/2022 - Mon
Karl Heinz Kremer
If you are already using some server processing of the data, it would make sense to change the forms submission from an email based system to a direct submission to a web server. This way, you can process the XML on the server and do whatever you need to do with it. Going through email just complicates things. If you also need an email as a notification that new data was received, you can also send out an email from your server software, adding the data in a more human readable format than XML. This way, the recipient knowns that John Smith submitted a form, and does not have to parse XML code to find that out.
Eric Burton
ASKER
Hi Karl,
Thanks for the quick response!
Unfortunately, there is no middle tier server to process the xml data. There will be an operator to take the xml attachment from the email and manually upload the data into a dataset.
Eric
Fernando Soto
Hi Eric;
Well then read the XML data into your program and convert it into an XML document then you could use Document objects to fill your DataSet/DataTable.
I like the XMLDocument object, but is there an easier way to do this using the ReadXML/WriteXML methods?
Fernando Soto
I'am sorry I do not know XML Document Object model well enough to answer. I only started using XML when Linq to XML came out so I never bothered learning it because it was much easier to learn and work with Linq and XDocument. Maybe someone will drop in that may be able to answer your question.
Eric Burton
ASKER
What can you do when the ReadXML method doesn't work?