+ Reply to Thread
Results 1 to 6 of 6

Generating nested XML from XLS (office 2007)

Hybrid View

  1. #1
    Registered User
    Join Date
    09-28-2014
    Location
    Virginia
    MS-Off Ver
    2007
    Posts
    5

    Generating nested XML from XLS (office 2007)

    Hey everyone,

    I've been trying various methods to generate (export) an XML with the right tag strcuture based on the data I have in a spreadsheet. If anyone can provide some assistance on how to do this, I would greatly appreciate it. Currently, all I know is that excel will export the mapped columns PER row each column in it's own tag information. What I need is a bit different. It's best illustrated with an attached example. I'm attaching my sample spreadsheet data in .xls, and a sample output of the xml structure I'd like to export from Excel (using Office 2007 currently) in a zipped archive. Apologies ahead of time if I'm not articulating this as best as I should.

    Thanks
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-28-2014
    Location
    Virginia
    MS-Off Ver
    2007
    Posts
    5

    Re: Generating nested XML from XLS (office 2007)

    anyone who can help would greatly be appreciated.

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Generating nested XML from XLS (office 2007)

    I downloaded your XLSX file and tried to save it as XML but got an error stating that there were no XML Mappings and wouldn't save.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    09-28-2014
    Location
    Virginia
    MS-Off Ver
    2007
    Posts
    5

    Re: Generating nested XML from XLS (office 2007)

    Thanks for looking into it. The reason you are getting an error saving the .XLS file as an XML file is that I didn't map any of the columns. I have tried mapping and though I can map with the included .XML file opened (opened in the XML task pane), then copying the data over into the worksheet and when all the maps are complete, once I try to export, it gives an error indicating "Cannot save or export XML data. The XML maps in this workbook are not exportable." When I say "export" I'm using the XML section in the Developer Tab in Excel. Hope this clarifies things. Also, I can saved a mapped version of the XLS file if needed as well.

  5. #5
    Registered User
    Join Date
    09-28-2014
    Location
    Virginia
    MS-Off Ver
    2007
    Posts
    5

    Re: Generating nested XML from XLS (office 2007)

    Is what I'm requesting even possible in Excel? I'm just stumped here.

  6. #6
    Registered User
    Join Date
    09-28-2014
    Location
    Virginia
    MS-Off Ver
    2007
    Posts
    5

    Re: Generating nested XML from XLS (office 2007)

    Can anyone help with this?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Open PDf specific page, work with office 2007 but not on office 2013
    By haktak in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-10-2014, 01:58 AM
  2. Replies: 4
    Last Post: 05-02-2010, 12:05 PM
  3. macro built with Office 2003 not working on Office 2007
    By pako87 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-02-2009, 08:12 AM
  4. Excel 2007 : Runs on Office 2007 but not on Office 2000
    By Chris424 in forum Excel General
    Replies: 5
    Last Post: 12-09-2008, 04:16 AM
  5. Performance not upto Office 2003 standards in Office 2007
    By Mangal Singh in forum Excel General
    Replies: 11
    Last Post: 05-29-2006, 08:00 PM

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