Parse XML file and get an HTML output with Nokogiri

Hi to all,

I’m trying to parse an XML file and print the result tabulated in HTML
table format.

I’ve seen in link below that he uses an HTML template, but I don’t know
how to apply it.

http://stackoverflow.com/questions/3938810/parsing-simple-xml-with-nokogiri

In this other link they use a “Nokogiri::HTML::Builder”, but who
answered says that are several ways to do it
and suggest that HTML::Builder is not the best option.

http://stackoverflow.com/questions/1801042/nokogiri-xml-to-html

Somebody could suggest me how to parse XML and print result as HTML
please.

Thanks for any support.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs