473,385 Members | 1,309 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Importing XML into multiple tables?

Bo
I've got a XML file like the example below which I would like to import into
a mysql database. I would like to import into multiple tables so each
Channel Name gets its own table. How would I go about doing this? I normally
use PremiumSoft Navicat for importing xml but I don't think it will
sepearate to multiple tables?

Thanks in advance for any help you may offer.

<?xml version="1.0" encoding="iso-8859-1" ?>
<EPG CreatedOn="2006-07-11 10:11:39">

<Channel Name="Top Channel" ServiceID="1700" TransportID="3" Typ="TV">
<Event>
<Start>2006-07-11 02:02:00</Start>
<Duration>00:26:00</Duration>
<Titel>Lajme, moti</Titel>
<Short>Redaksia e Informacionit</Short>
<Long>Lajmet kryesore te dites nga vendi dhe bota.</Long>
</Event>
<Event>
<Start>2006-07-11 02:28:00</Start>
<Duration>01:27:00</Duration>
<Titel>Top Select</Titel>
<Short>Program per te rinj</Short>
<Long>Emision argetues me muzike, te ftuar dhe informacionet e fundit nga
bota e artit.</Long>
</Event>
</Channel>
<Channel Name="DIGI+" ServiceID="1720" TransportID="3" Typ="TV">
<Event>
<Start>2006-07-11 02:00:00</Start>
<Duration>01:00:00</Duration>
<Titel>Shtrigat</Titel>
<Short>Seria 2-sezoni VII</Short>
<Long>Tri motra terheqese, misterioze, me fuqi te mbinatyrshme qe
perballen me te keqen dhe perpiqen te mbijetojne. Ata qe bien ne rrjeten e
tyre do ta pesojne.</Long>
</Event>
<Event>
<Start>2006-07-11 03:00:00</Start>
<Duration>01:00:00</Duration>
<Titel>Njė dashuri e re</Titel>
<Short>Seria 31</Short>
<Long>Estrela Montieli, njė grua e re dhe e bukur, sė cilės i kanė
mbajtur tė fshehtė origjinėn e vėrtetė. Ajo ėshtė rritur nga Kandita, njė
grua e varfėr. Do tė njihet me Santiagon, njė avokat i njohur, dhe te dy do
tė bien nė dashuri marrėzisht.</Long>
</Event>
</Channel>
</EPG>
Jul 11 '06 #1
0 2541

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: steve | last post by:
Hi, I have researched but have not found a good solution to this problem. I am importing large amounts of data (over 50 Meg) into a new mysql db that I set up. I use >mysql dbname <...
5
by: dixie | last post by:
If I sent a user an empty database container - dB with no tables and I needed them to import their tables into it and one of their tables was a hidden table with the prefix Usys, is there any way...
1
by: robert demo via AccessMonster.com | last post by:
I've done all the recommended things with workgroup security, creating a ..mde file, and splitting the application into a front end and, in my case, multiple backends. The problem is that users...
11
by: panic attack | last post by:
Hello everbody, Our system is using Sql Server 2000 on Windows XP / Windows 2000 We have a text file needs to be imported into Sql Server 2000 as a table. But we are facing a problem which is,...
0
by: Mike Collins | last post by:
I am trying to export data from multiple tables in SQL Server to an XML file so I can then import it to another database. It seems to be working fine for exporting, but I am having trouble...
5
by: Mike Collins | last post by:
I am trying to export data from multiple tables in SQL Server to an XML file so I can then import it to another database. It seems to be working fine for exporting, but I am having trouble...
12
by: JMO | last post by:
I can import a csv file with no problem. I can also add columns to the datagrid upon import. I want to be able to start importing at the 3rd row. This will pick up the headers necessary for the...
4
by: JamesSykes | last post by:
Hi, I am relatively new to Access and VBA. I am trying to import a number of database files (just really want the contents of their tables) from a specified folder into a master table that...
4
by: Chloe C | last post by:
Hi I've got an Ingres database of some 200 tables which I need to import every night into SQL Server 2005 for use by Reporting Services. Most of the tables will come across unchanged (a few need...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.