Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Load XML Data from various resources Expand / Collapse
Author
Message
Posted Sunday, January 4, 2009 5:08 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Wednesday, July 9, 2014 12:43 PM
Points: 75, Visits: 203
Hi,

I'd like to know how I can do the following:

1. Receiving various XML files from about 50 companies
2. Each XML file will contain the same data, however the "field nodes" in the XML file are different, for example, one XML can be something like this

XML File1



XML File2


3. Load those different files into the same table or tables

I know I can use bulkcopy using either a C# or SSIS, however the design issue is how can I design this and determine that the field nodes in the different XML files contain the same type of data?

Any thoughts or ideas or links would be great.


Thanks,
Post #629540
Posted Sunday, January 4, 2009 5:11 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Wednesday, July 9, 2014 12:43 PM
Points: 75, Visits: 203
The fields names appear in the XML files like so:

XML File 1
FirstName - John

XML File 2
FName

Sorry that these fieldnames didn't appear in my original message.

Thanks,
Post #629542
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse