Avatar of Eric Burton
Eric Burton
Flag for United States of America asked on

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

Avatar of undefined
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.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Eric Burton

ASKER
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?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Eric Burton

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Eric Burton

ASKER
Fastest way to convert the XML data into a readable format for VB.NET