Is there any perl script for converting XML file to tab-delimited file ?

Discussion in 'Perl Misc' started by gongwuming@hotmail.com, Apr 14, 2004.

  1. Guest

    Hello..
    I want to load a very big XML file to MySQL database. Because I have
    already written a script for loading a tab-delimited file to database
    (specific column to specific field of table) before, I just need to
    convert the XML file to tab-delimited format.
    Is there a perl script for solving this kind of problem?
    I tried to write one this afternoon, but i felt it is not a very easy
    problem...Can someone give a some hits on it and what XML::* module
    should I use? ( I used XML::SimpleObject, but I think it is a little
    light-weighted.)
    Thanks in advance..
     
    , Apr 14, 2004
    #1
    1. Advertisements

  2. ZedGama3 Guest

    I believe XML::parser is what your looking for


    <> wrote in message
    news:...
    > Hello..
    > I want to load a very big XML file to MySQL database. Because I have
    > already written a script for loading a tab-delimited file to database
    > (specific column to specific field of table) before, I just need to
    > convert the XML file to tab-delimited format.
    > Is there a perl script for solving this kind of problem?
    > I tried to write one this afternoon, but i felt it is not a very easy
    > problem...Can someone give a some hits on it and what XML::* module
    > should I use? ( I used XML::SimpleObject, but I think it is a little
    > light-weighted.)
    > Thanks in advance..
     
    ZedGama3, Apr 14, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DC Gringo
    Replies:
    2
    Views:
    2,031
    DC Gringo
    Apr 25, 2005
  2. Luke Airig
    Replies:
    0
    Views:
    760
    Luke Airig
    Dec 21, 2003
  3. jkflens
    Replies:
    2
    Views:
    1,719
    jkflens
    May 30, 2006
  4. RyanL
    Replies:
    6
    Views:
    985
    Paul McGuire
    Aug 28, 2007
  5. Kadin2048
    Replies:
    3
    Views:
    414
    Kadin2048
    Dec 5, 2007
  6. Gibson
    Replies:
    2
    Views:
    1,639
    Gibson
    Nov 19, 2008
  7. Replies:
    7
    Views:
    447
    Guest
    May 27, 2006
  8. Srikant
    Replies:
    1
    Views:
    648
    Greg Bacon
    Sep 29, 2007
Loading...