I’m building a web interface for a XML-“database” using Sinatra and I need some pointers on how to do this. Sinatra may not be relevant since I guess one would be using a gem to read XML and present it to the user. My goal with this is to provide an user friendly interface for the XML-data. I have no previous experience of dealing with XML.
An example of data from a player looks like this. Can you guys give me some pointers?
I believe the most used library for xml parsing these days is nokogiri
You can install it doing:
Here’s a tutorial on how to parse an xml document for example.