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.

Application to read/convert XML data

Thread Tools
 
Search this Thread
 
Old 24 October 2005, 06:04 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 Application to read/convert XML data

First some background. Apple's System Profiler application (exports almost all the hardware info about your machine you could want) can export it's data in XML format, and you can run it from terminal, and pipe the result to a file, which is handy if you want to run a profile without user interaction, and/or remotely.

Now, I have quite a few of these files and they are in XML format, and I'm trying to find an application (PC or Macintosh) that will actually read these files. I've tried Excel, but it won't play ball with them, I've also tried filemaker pro (v8, am download the latest to see if it'll work) and again, no joy.

I'm ideally looking for something database like, or something that would allow me to perform a report, for example, allow me to search for all machines with less than 256MB of RAM.

Any suggestions?
Old 24 October 2005, 08:38 PM
  #2  
mark1234
Scooby Regular
 
mark1234's Avatar
 
Join Date: Feb 2005
Location: Where women glow and men plunder, Xbox Gamertag Upsidedownmark
Posts: 573
Likes: 0
Received 0 Likes on 0 Posts
Default

altova xml spy. Don't know if you can do the db/query stuff.. but you can download a demo.
Old 24 October 2005, 09:12 PM
  #3  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Default

XML Spy might parse it. It's not really XML, it's Apple's own Property List format. It's a bit more verbose, unreadable and less easy to parse than real XML.
Old 24 October 2005, 09:19 PM
  #4  
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

You're quite correct it's not "true" XML, which does not really help things. Guess I could write myself a little Applescript to scan through the file and "do something" with it. hmm.
Old 24 October 2005, 09:38 PM
  #5  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Default

If you're handy with Perl you could use Mac::PropertyList to get the data you need.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
Sam Witwicky
Engine Management and ECU Remapping
17
13 November 2015 10:49 AM
oilman
Trader Announcements
15
01 October 2015 11:55 AM
Pro-Line Motorsport
Car Parts For Sale
2
29 September 2015 07:36 PM
Nick_Cat
Computer & Technology Related
2
26 September 2015 08:00 AM



Quick Reply: Application to read/convert XML data



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