#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Map this!

I have an xml that goes like the following:
<root
<inv
<date01/01/2006</date
<siteSite_1</site
<initial_quantity250</initial_quantity
<final_quantity150</final_quantity
</inv
<inv
<date01/02/2006</date <!-- next date --
<siteSite_1</site <!-- Same site --
<initial_quantity175</initial_quantity
<final_quantity75</final_quantity
</inv
<!-- and so on for next 10 or so days --
<!-- same as above for some other site --
</root

I can create an xsd for this.

How do I map it to excel (xml map) so that the individual dates appear in
COLUMNS? Basically, the column heading should appear like the following in
Excel:
"Site", "Quantity Type", "01/01/2006", "01/02/2006", ... are the column
titles.
Under "Site" title, I need to show the site_1....
In 2nd column I need to show text "Initial Quantity" in first row, and
"Final Quantity" in 2nd row.. then under "01/01/2006" column, I need to show
250 and 175 respectively, and under 01/02/2006 column I need to show 150 and
75 respectively for Initial and Final quantities.

Site Quantity Type 01/01/2006 01/02/2006 ....
site_1
Initial Quantity 250 175
Final Quantity 150 75

How I do map the xsd that matches the above xml to be displayed like above
(and keeping the cells to be editable)?


Reply
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



All times are GMT +1. The time now is 06:23 PM.

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

About Us

"It's about Microsoft Excel"