+ Reply to Thread
Results 1 to 3 of 3

Exporting XML file

  1. #1
    Registered User
    Join Date
    08-15-2011
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    7

    Exporting XML file

    Hi All,

    I've created an Excel file from one provided by a client. It now has 23 columns and 1000s of rows. I'm looking to generate a XML file but have limited knowledge.

    I made a simple XML schema (attached) which allows me to export the file correctly. In so doing each row becomes a parent (in my case, <item>) of the root (<items>). In this way, all the rows are listed as <item> and are bound at the start and end of the file by <items>.

    As I'm using the XML file for a complicated book layout, I now need to group every 10 rows into a parent element. For example:

    <items>
    <item>1</item>
    ...
    <item>10</item>
    </items>
    <item>
    <item>11</item>
    ...
    <item>20</item>
    </items>

    I believe this should be easy but I have already wasted hours trying to work it out... I'd appreciate any help!

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Exporting XML file

    Give this a try


    Please Login or Register  to view this content.
    Last edited by mike7952; 08-28-2012 at 01:05 PM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Exporting XML file

    I missed the part about Groups of 10 so try this

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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