Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Data Mapping

Status
Not open for further replies.

BuGlen

MIS
Jun 16, 2000
254
US
OK, I'm very new to the different XML technologies. I have a B2Bi application I wrote to submit orders to one of our vendors. In the app, I use string manipulation (VB Replace function) on various parts of a template cXML document to "plug-in" the data. It's really a sloppy way to do things and there must be a better way.

I've seen some reference to XSD and XSLT for formatting and translation. Can these technologies also be used to plug in data from a data source? I just need a shove in the right direction to get me going, so any insight would be greatly appreciated.


Glen Appleton

VB.Net student.
 
Well, the more I research XSLT, the more I think it may be better to work with the DOM document object at the application level. I'm thinking the best thing to do would be to create the relationship between the nodes, attributes, and abstract values in a table and use that as a template for building out the DOM document. That way, I can update the table to make any required changes without having to redo the code.

Any comments, suggestions?


Glen Appleton

VB.Net student.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top