LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel export to XML

I ran into this same issue with a project I was working on. The problem was
that I originally had my xml base file as something like:

<people
<person
<name</name
<phoneNumber</phoneNumber
</person
</people

When mapped to the data in the corresponding Excel columns, I would only get
the first row of data.

However, if you take your xml base file and add another "Person" entry, like
so:


<people
<person
<name</name
<phoneNumber</phoneNumber
</person
<person
<name</name
<phoneNumber</phoneNumber
</person
</people

Excel will know that the "person" tag (and, its child nodes) is meant to be
used multiple times. Coincidently, in the tree view of the XML data on the
right-hand window of the excel screen (the one you get from going to
DataXMLXML Source...), you'll notice that the "file folder" icon associated
with the "Person" Tag will have a small blue square with a white "down" arrow
in it signifying that it is meant to be a repeated with different data.

Hope that helps.

Thanks,

Jack
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel export Maria Excel Worksheet Functions 1 May 12th 06 04:08 PM
excel to csv export Bob Excel Discussion (Misc queries) 1 February 6th 06 10:37 PM
Can I export from Excel to ACT Parm Excel Discussion (Misc queries) 2 July 1st 05 03:28 PM
Export from excel Maria Excel Discussion (Misc queries) 5 March 29th 05 07:51 PM
Export from excel Maria Excel Worksheet Functions 2 March 29th 05 03:07 PM


All times are GMT +1. The time now is 04:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"