Hacker News new | ask | show | jobs
Ask HN: What do I do with all this XML?
3 points by NWoodsman 1383 days ago
I crawled/scraped my favorite forum and rounded up 850 XML files of 5-6k lines each.

I was using XSL transformations in Firefox but it seems to have been disallowed due to a cross origin scripting attack using local files, so now only external resources can be used if http.

Basically I need an alternative means of visualization to convert my xml into something readable.

I have a simple structure <Threads><Thread Author="" Date="" Title=""><Post Author="" Date=""><Article></Article></Post></Thread></Threads>

where Article is an actual HTML Article tag (so it should parse to HTML already)

Any suggestions what to do?

2 comments

Use an XML editor like xmlspy or write a console app in your preferred programming language.
Is there XMLSpy or something similar for Linux/Ubuntu?

Back in the day I used XMLSpy on Windows for XSD schema design, and liked it a lot.

I tried to look for a Linux version several years ago, but their website was a mess;(

Maybe it can work under Wine, or there is a browser-based version?

Perhaps use the command line program xsltproc instead of Firefox.