Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jolly Roger Newsgroups: comp.sys.mac.apps Subject: Re: 32 bit apps Date: 27 Sep 2017 16:09:58 GMT Organization: People for the Ethical Treatment of Pirates Lines: 33 Message-ID: References: <1ncvip4.13j9idk58132uN%dcohenspam@talktalk.net> <1ncwh4g.d2zil01senl0wN%dcohenspam@talktalk.net> <1ncwwam.1941jdo1s2s7kvN%dcohenspam@talktalk.net> <0001HW.1F79AFD200B2EE4215D6802CF@news.individual.net> <1ncy9v1.8oyqxz1s0injhN%dcohenspam@talktalk.net> <1nd0g0t.zgu8r31bo2yhdN%dempson@actrix.gen.nz> X-Trace: individual.net BP5+376xQR05kZbJx4XIgwDoCZj5ouSG8vA+cfi9/zcqzXA0zw Cancel-Lock: sha1:/qet5QBeGDTUhF/YGmFagnW7dws= Mail-Copies-To: nobody User-Agent: slrn/1.0.1 (Darwin) Xref: csiph.com comp.sys.mac.apps:39648 On 2017-09-27, David Empson wrote: > Lewis wrote: > >> xmlto csv file.xml >> >> should work just fine. > > I already had Homebrew installed but not xmlto, so testing that theory: > > $ system_profiler -xml SPApplicationsDataType >apps.xml > > $ brew install xmlto > > (Modified my .bash_profile as noted during the install to define > XML_CATALOG_FILES.) > > $ xmlto csv file.xml > I don't know how to convert docbook into csv. That's because System Profiler doesn't emit DocBook XML. The tool wrongly guessed it was DocBook. > I expect xmlto needs a suitable XSL file to be able to extract the > relevant parts. Yes, and it would have to be a custom XSL written just for System Profiler's reports. -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR