Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Importing complex XML data into a database

Thread Tools
 
Search this Thread
 
Old 06 October 2006, 03:50 PM
  #1  
Markus
Scooby Regular
Thread Starter
 
Markus's Avatar
 
Join Date: Mar 1999
Location: The Great White North
Posts: 25,080
Likes: 0
Received 0 Likes on 0 Posts
Default Importing complex XML data into a database

Here's a good one for you.

I've got some complex XML data (Mac OS X System Profiler report in XML format) and I would like, if at all possible, to import this into a database, preferably mac based, but it's not a problem if it's PC based.

The idea here is that I have the hardware reports generated automatically and put onto a server (that's the easy bit), I can view the data on the server, but I can't actually do any comparisons or searches, for example, search for all machines running Mac OS X 10.4.x with 256MB of RAM.
It's for this reason I'd like to import the data into a database so I can easilly find that information and generate a report on that search, or any other search I desire.

Anyone have any bright ideas on how to do this? I've looked at Filemaker Pro, and it does have an XML import, but it looks like I'd need an XSL stylesheet, and this data isn't simple row and column deal (see below) thus the XSL file would be a little complex, if it's possible to do it at all.

You can view/download the xml file here

Last edited by Markus; 06 October 2006 at 03:54 PM.
Old 06 October 2006, 05:11 PM
  #2  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Default

SQL Server 2005 will do what you want via the import/export wizard. Additionally you *can* do it with SQL 2000 but its not as straightforward.

Gary
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
Sam Witwicky
Engine Management and ECU Remapping
17
13 November 2015 10:49 AM
TylerD529
General Technical
2
09 October 2015 01:53 AM
BLU
Computer & Technology Related
11
02 October 2015 12:53 PM
Iqy7861
Insurance
5
01 October 2015 07:57 PM



Quick Reply: Importing complex XML data into a database



All times are GMT +1. The time now is 11:38 PM.