Jump to content
Sign in to follow this  
ChouChou

Relational Database

Recommended Posts

Dear Forum,

I have a relational database which I want to export to XML, to be used in Flash. Now, my question is, how should a relational database be exported in XML.

Given my understanding of databases, XML and database are very different. Databases use records and relations, while XML uses nesting to achieve about the same, ie many to many relations. This is roughly my idea about these concepts.

Anyhow, how would you export a relational database to XML ?

Up to now i have 2 ideas, one is to generate/calculate a big join file at the database side, and export this file to XML. Not to elegant. The other is to export the simple/flat files seperately and define the relations in Flash. Not to elegant either, also given that it is not good to do data managment at the client side, I think.

It should be possible to let your XML file represent relations and related tables in one big XML file. All seperate tables can be represented by nodes, just like all the relations as well. But how do I make FMPro to output this kind of XML B)

thx,

ChouChou

I know I'm cross posting (http://www.fmforums.com/threads/showflat.php?Cat=0&Number=129533&an=0&page=0#129533), but I guess not many off the FMPro-XML community reads allot on FMPro-Flash ...

Share this post


Link to post
Share on other sites

I found a good solution, read more about it at:http://www.fmforums.com/threads/showflat.php?Cat=0&Number=133270&page=0&vc=1&PHPSESSID=#Post133270

thx,

ChouChou

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.