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 9240151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:08:24+00:00 2026-06-18T08:08:24+00:00

I have a very simple, three-column excel file: I would like to export it

  • 0

I have a very simple, three-column excel file:

enter image description here

I would like to export it to an XML file with the following structure:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<translations>
<item id="USER_NAME">
    <en>Username</en>
    <de>Username_D</de>
</item>
<item id="PASSWORD">
    <en>Password</en>
    <de>Password_D</de>
</item>
</translations>

I only managed to use the following mapping file so far

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="translations">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="item" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<xs:element name="item" id="pippo">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="en" type="xs:string"/>
            <xs:element name="de" type="xs:string"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>
</xs:schema>

Which almost gives what I want:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<translations>
<item>
    <en>Username</en>
    <de>Username_D</de>
</item>
<item>
    <en>Password</en>
    <de>Password_D</de>
</item>
</translations>

How do I set the id field into the idem node?

  • 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-18T08:08:25+00:00Added an answer on June 18, 2026 at 8:08 am

    OK, I found a workaround.

    I create an XML like this (i.e. resembling the final result)

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <translations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <item id="USER_NAME">
        <en>Username</en>
        <de>Username_D</de>
    </item>
    <item id="PASSWORD">
        <en>Password</en>
        <de>Password_D</de>
    </item>
    </translations>
    

    Import the XML into Excel via the Developer tab.
    Drag it to a new spreadsheet so that I have a new XML-based Excel sheet.
    Copy/paste all the values I need and export.
    So, for example, this sheet

    enter image description here

    will produce this XML

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <translations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <item id="USER_NAME">
        <en>Username</en>
        <de>Username_D</de>
    </item>
    <item id="PASSWORD">
        <en>Password</en>
        <de>Password_D</de>
    </item>
    <item id="SOME">
        <en>A</en>
        <de>B</de>
    </item>
    </translations>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very simple binary tree structure, something like: struct nmbintree_s { unsigned
I have a very simple Setup project that copies three dlls into the GAC.
A very simple question. I have a html page which is divided into three
I have a very simple table called Member , which consists of the following:
I have this very simple python code to read xml for the wikipedia api:
I have a MySQL database that has a few very simple tables. I would
I have a very simple search query that looks like this select * from
I have a very simple table called genre , which looks like this: GENRE
I have a table, schema is very simple, an ID column as unique primary
We have a situation where Excel's XML 2003 format is widely used for file

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.