sajohnstone
asked on
XML Import Export (Data Mapper)
We have an application and the database for it is user customisable. We need to be able to import and export data to various 3rd parties in their specific format.
In essance what we need is for a user to be able to select a .xml or xsd file and then map their fields to that document.
We can then store this "Template" in our database, and the next time they want to import or export an xml file that can just select a the file an a "Template" and it will do the rest for them.
I hope this is clear.
Any clues as to how I could achive this would be a great help.
In essance what we need is for a user to be able to select a .xml or xsd file and then map their fields to that document.
We can then store this "Template" in our database, and the next time they want to import or export an xml file that can just select a the file an a "Template" and it will do the rest for them.
I hope this is clear.
Any clues as to how I could achive this would be a great help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Well there's this one from microsoft.
http://msdn.microsoft.com/XML/XMLDownloads/default.aspx
It's very easy to use with VB. Also, if you are using dotNet check out ADO.Net - loads of XML in there - What DB are you using?
http://msdn.microsoft.com/XML/XMLDownloads/default.aspx
It's very easy to use with VB. Also, if you are using dotNet check out ADO.Net - loads of XML in there - What DB are you using?
Well I think we were on the way to a solution but then sajohnstone just buggered off. Looking at his/her profile, 1 question/1 comment not bothering to answer questions. I think he/she is gone for good.
Never mind.
Never mind.
ASKER
What I need to know is how to do the XML part.
How to read a xsd/dtd/xml file into a format that could be turned in to a template.
How to then turn that template into an xml file (that matches the dtd/xsd if provided).
How to read a imported xml file against the template and hence map the fields to our database
I can't help thinking there must be an SDK or something out there that does this allready as I imagine that this is a fairly common request.