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 Oct 24, 2005 | 06:04 PM
  #1  
Markus's Avatar
Markus
Thread Starter
Scooby Regular
25 Year Member
 
Joined: Mar 1999
Posts: 25,080
Likes: 0
From: The Great White North
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?
Reply
Old Oct 24, 2005 | 08:38 PM
  #2  
mark1234's Avatar
mark1234
Scooby Regular
 
Joined: Feb 2005
Posts: 573
Likes: 0
From: Where women glow and men plunder, Xbox Gamertag Upsidedownmark
Default

altova xml spy. Don't know if you can do the db/query stuff.. but you can download a demo.
Reply
Old Oct 24, 2005 | 09:12 PM
  #3  
stevencotton's Avatar
stevencotton
Scooby Regular
 
Joined: Jan 2001
Posts: 2,710
Likes: 1
From: behind twin turbos
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.
Reply
Old Oct 24, 2005 | 09:19 PM
  #4  
Markus's Avatar
Markus
Thread Starter
Scooby Regular
25 Year Member
 
Joined: Mar 1999
Posts: 25,080
Likes: 0
From: The Great White North
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.
Reply
Old Oct 24, 2005 | 09:38 PM
  #5  
stevencotton's Avatar
stevencotton
Scooby Regular
 
Joined: Jan 2001
Posts: 2,710
Likes: 1
From: behind twin turbos
Default

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




All times are GMT +1. The time now is 04:33 AM.