Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9009627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:14:59+00:00 2026-06-16T02:14:59+00:00

I want to convert schema table relations into xml file without using a programming

  • 0

I want to convert schema table relations into xml file without using a programming language. I just want to how how it works. Below are my database tables.

User(id, name, address)
     10  john  ca
     20  marsh ny 

Account(aid, title, balance, id)
         1   john   2000     10
         2   marsh  3000     20

Transaction(tid, date, amount, type, aid)
            100  1feb  500     Dr    1
            300  3mar  100     Cr    2 

Click this link to view all the schema tables: http://www.mediafire.com/view/?eu9ggoei7py2efr

Please check the above link to view all of my tables as i don’t have greater than 10 points to upload an image here, so please check the link to view my tables. Should i make individual xml file for individual table? I’m really stuck at this point. The table which prints the transaction is more complicated. Please give me some suggestions. Thanks

Should i make three individual xml files for each table or just one??

<?xml version="1.0" ?>
<user>
<id>10</id>
<name>john</name>
<address>ca</address>

<id>20</id>
<name>marsh</name>
<address>ny</address>
</user>



<?xml version="1.0" ?>
<account>
<aid>1</aid>
<title>john</title>
<balance>2000</balance>
<id>10</id>

<aid>2</aid>
<title>marsh</title>
<balance>3000</balance>
<id>20</id>
</account>


<?xml version="1.0" ?>
<transaction>
<tid>100</tid>
<date>1feb</date>
<amount>500</amount>
<type>Dr</type>
<aid>1</aid>

<tid>300</tid>
<date>3mar</date>
<amount>100</amount>
<type>Cr</type>
<aid>2</aid>

</transaction>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:15:01+00:00Added an answer on June 16, 2026 at 2:15 am

    You should be able to find some tools online that can do this, especially with the interest in XML databases a while back.

    Here are two links to get you started:

    A tool with a feature that can do this:
    http://www.oxygenxml.com/xml_editor/database_to_schema.html

    A discussion relating to this, albeit for SQL-server:
    Get XML schema from database schema (SQL Server 2008 diagram)

    If you include your platform, more help may be possible.

    EDIT

    From your response, it sounds like you just want an idea of how you should set up the fields in your XML. The short answer is any way you want to. The longer answer is it depends on what you want to feed the XML to.

    You could try to do your mappings according to this proposal: http://www.w3.org/1999/07/20-XML-DB-Mapping

    If you just want an idea of how you could represent a database schema in XML, then something like the below can work for your Account table. For illustrative purposes, I’m pretending aid is your primary key and id is a foreign key that links with Transaction.tid:

    <dbTable name="Account">
       <column name="aid" type="int" primaryKeyKey="true" />
       <column name="title" type="varchar(255)" />
       <column name="balance" type="float" />
       <column name="id" type="int" foreignKey="Transaction.tid" />
    </dbTable>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to convert XML into binary data in Java? What is the fastest
I want to convert one xml format to another xml format by using xslt
I want to convert one xml to another xml by using XSLT2.0.While doing so,
I want to convert a 44,100 Hz, 24 Bit Mono wav file to aformat
Using Python 2.6 I want to be able to convert numbers such as 00000,
I have class model for XML structure, where i want parse xml into it.
I want convert string value into date in my project because I am fetching
I want to convert this schema http://wfmc.org/standards/bpmnxpdl_31.xsd to MySQL DDL statements. Unfortunately, i don't
I'm using the following code just to convert any URL to starts with http://
Need: take in XML and save data to database. Currently using: JAXB to convert

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.