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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:44:34+00:00 2026-05-26T13:44:34+00:00

I have a xls full of data. I have created a schema to use

  • 0

I have a xls full of data. I have created a schema to use that is working for everything, except the date column. The date column has dates like so: 5/11/2000 in it. When I save the XML I get 36657. Here is my schema:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<COLA>
  <Congress>
    <CongressTH>106th Congress (1999-2000)</CongressTH>
    <Subject>Designate certain national forest system lands within the boundaries of the state of VA as Wilderness area</Subject>
    <Committee>House Committee on Agriculture</Committee>
    <Witness>Jim Furnish</Witness>
    <Date>9/19/2011</Date>
    <Bill>HR 4646</Bill>
    <Link>2001_Testimony.pdf</Link>
  </Congress>
  <Congress>
    <CongressTH>106th Congress (1999-2000)</CongressTH>
    <Subject>Community Forest Restoration Act and Lake Tahoe Restoration Act</Subject>
    <Committee>House Committee on Agriculture</Committee>
    <Witness>Randle G. Phillips</Witness>
    <Date>5/11/2000</Date>
    <Bill>HR 3388 and S 1288</Bill>
    <Link>2000_Testimony.pdf</Link>
  </Congress>
</COLA>

I have changed the date schema to various different layouts (example):

<Date>5/11/2000</Date>

<Date>5.11.2000</Date>

<Date>May 11, 2000</Date>

<Date>5-11-2000</Date>

These all do the same. Returning 36657. I have cut and pasted from Excel and I have cut and pasted from Notepad to strip formatting. Both do the same.

What do I need to change in the Schema to get this date to render correctly when saved?

Thanks!

  • 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-05-26T13:44:35+00:00Added an answer on May 26, 2026 at 1:44 pm

    The format of your excel cell data, is probably in DATE format, I don’t think this transfers as expected when doing XLS to XML Schema. Try setting that entire columns data format to TEXT, that should pass the string value of the cell which is what you are trying to get across.

    To do this;

    • highlight your entire column where your date data is in excel,
    • right click the selected cells, up will pop a menu
    • Click Format Cells…
    • on the left hand side under Category: click text.
    • Then save your XML

    Your date should come through as the actual 05/11/2000 string.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created password protected zip file which has xls file with the help
lets say I have a xls sheet with just one column which has the
I have converted a working C# class that embeds xls files to windows forms
I have a customer that needs to convert XLS files to XLSB. Has anyone
I have data that contains a note field that is full of invalid characters
I have sheet1.xls which is closed. I am working in sheet2.xls VBA as follows.
I have a generated xls file on my server that I would like to
I have a 3rd Party tool that generates an xml spreadsheet (*.xls). I have
I have a directory that contains jpg,tif,pdf,doc and xls. The client DB conly contains
I am developing an application in which i have to get data from .xls

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.