xml2database

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
link76
Posts: 99
Joined: Fri Nov 04, 2011 1:52 pm

xml2database

Post by link76 »

Hello,

what is the best way to import an XML file into the database?

thank you
William Jamieson
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 212
Joined: Fri Feb 01, 2013 1:31 am
Contact:

Re: xml2database

Post by William Jamieson »

Hey there Link 76. I think people are skipping your thread because you are not specific in what you are asking. If you want my simple blunt answer it would be, put the xml data into a key, and create a record. Done. That is the answer based on your question, but I have a feeling that is not what you are asking. So what are you asking?

-Will
MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: xml2database

Post by MaxV »

XML is not a database.
XML are nested data
Database is tables of data.
So you can use the "revXMl..." functions to obtain an array, but how to transform in database depends on how you interpret the data.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Post Reply