Mapping XML elements to multiple cells

santony

New Member
Joined
Aug 5, 2010
Messages
7
Hello,

I am trying to produce an Excel file filled with data from the XML file.

Some of the cells need to have the same element data. However the Microsoft Excel is not allowing to map an XML element to more than one cells.

Could somebody know of a way to achieve this result/ solution for this issue.

Any hint to the solution is highly appreciated.

Thanks,
Antony
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Not an 'XML solution', but why not point the second [third,fourth,etc] cell needing the data to the first cell that received it?
 
Upvote 0
Thanks for the response.

Yes, this is very acceptable solution for the non-repeative cells.

However, if cells are repeatitive cells, then pointing to the first mapped cell (repeatitive) would not give the expected results for the other repeatitive cells.

could you please share your ideas/views.

Thanks,
Antony


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
 
Upvote 0
BUMP

I too am having the same problem, but I am trying to export the information.

My XML file looks like this


name
<name>My Product</name>
product_set
Product Set 1</product_set>
product_set
Product Set 2</product_set>
</product>


but I cannot find a way in excel to assign the Product Set 2 as you cannot map an element (product_set) more than once in the excel file.

Is there a way to store the additional info in the same cell, and have it split on export?

Any ideas?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top