0

How to convert a Wikipedia table to a XML file? I tried importing with Google Docs, but all formatting is lost completely and restoring it is a tedious work.

https://en.wikipedia.org/wiki/List_of_Bollywood_films_of_2013

<movie>
    <table_no._21>
        <title>Table No. 21</title>
        <genre>Thriller/Drama</genre>
        <director>Aditya Daat</director>
        <cast>Paresh Rawal, Rajeev Khandelwal, Tena Desae</cast>
        <cbfc>A</cbfc>
    </table_no._21>
</movie>
Nemo
  • 2,441
  • 2
  • 29
  • 63
  • Why don't you save the HTML source for that table and do an XSLT transform to XML? Or look for a movie database where you can extract the information in XML – Adolfo Perez Dec 31 '13 at 14:24
  • 1
    @AdolfoPerez thanks for the information :) I copied the html table and extracted and converted as Excel and then to XML with Outwit Hub! Easiest Way – Narayanan Ramanathan Dec 31 '13 at 16:18

1 Answers1

0

Adolfo's answer: Why don't you save the HTML source for that table and do an XSLT transform to XML? Or look for a movie database where you can extract the information in XML.

Nemo
  • 2,441
  • 2
  • 29
  • 63