#1   Report Post  
dpbuck
 
Posts: n/a
Default XML Mapping Issues

I am fairly new to mapping XML into an excel spreadsheet, and I need some
help to make the spreadsheet behave the way I want.

I receive an xml file from an outside application that is in this format:

<?xml version"1.0"?
<Master
<Header
<HeaderInfo...</HeaderInfo
</Header
<Record
<Reference type="A"a1</Reference
<Reference type="B"b1</Reference
</Record
<Record
<Reference type="A"a2</Reference
</Record
<Record
<Reference type="A"a3</Reference
<Reference type="B"b3</Reference
</Record
</Master

Basically, there isn't always a Reference Type "B". I want to map these
into excel into two columns, like:

a1 b1
a2
a3 b3

What I did is set up two source maps, mapped one using type="A" into one
column, and type="B" into the other. Unfortunately, I get this:

a1 b1
a2 b3
a3

Is there a way to have the map pull a blank if there is no Type B entry,
instead of skipping over it? This is probably pretty rudimentary, but I
can't figure it out.
Thanks in advance for your help.

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping one table based on another table range waynehamilton Excel Worksheet Functions 7 May 12th 05 04:37 AM
character mapping mpointon Excel Discussion (Misc queries) 1 March 14th 05 07:09 PM
character mapping mpointon Excel Discussion (Misc queries) 1 March 14th 05 04:49 PM
Suggestions for creating Issues Log using Excel? Deb Excel Worksheet Functions 1 March 14th 05 03:38 PM
Anyone know where I can get a basic market mapping template? Vientus Excel Discussion (Misc queries) 0 January 24th 05 10:39 PM


All times are GMT +1. The time now is 06:50 AM.

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"