+ Reply to Thread
Results 1 to 5 of 5

Leading Zeroes & XML

  1. #1
    Registered User
    Join Date
    01-09-2006
    Posts
    13

    Leading Zeroes & XML

    We get a file in XML every month, which strips the leading zeroes from our 9-digit ID number. So we have to re-format to add back in the 0s. We've tried all the regular tricks (using Custom Format, formatting to text, etc.) but XML removes all the formatting from your file. Is there a trick to getting the XML file to keep the leading zeroes?

  2. #2
    Forum Contributor starryknight64's Avatar
    Join Date
    09-27-2006
    Location
    Missouri
    MS-Off Ver
    2003 (Work) & 2007 (Home)
    Posts
    193

    Re: Leading Zeroes & XML

    Not sure how to attack your question... could you be more specific as to how we can help you?
    starryknight64

  3. #3
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Leading Zeroes & XML

    I didn't understand what u whant, but try this one...

    "0"&A1 (formatted as text)
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  4. #4
    Registered User
    Join Date
    01-09-2006
    Posts
    13

    Re: Leading Zeroes & XML

    Quote Originally Posted by starryknight64 View Post
    Not sure how to attack your question... could you be more specific as to how we can help you?
    We have an id number that is 9 digits, with leading zeroes. (ex. if the number is 123456, then 3 zeroes are added to the beginning to make it 000123456). When you send an XML file, it strips all formatting, including reverting the number back to 123456. How do I get XML to keep the 9-digit number instead of removing the zeroes?

  5. #5
    Forum Contributor starryknight64's Avatar
    Join Date
    09-27-2006
    Location
    Missouri
    MS-Off Ver
    2003 (Work) & 2007 (Home)
    Posts
    193

    Re: Leading Zeroes & XML

    My assumption is that you open the XML file using Excel?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1