Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Mapping an XML element more than once??

Hi, I'm trying to map a single XML element to multiple columns in Excel and I'm having a bit of trouble. For example, my mapped schema looks like this:

<?xml version="1.0" encoding="utf-8" ?
<schema xmlns="http://www.w3.org/2001/XMLSchema"
<element name="Root"
<complexType
<sequence
<element name="Distribution" maxOccurs="unbounded"
<complexType
<sequence
<element name="town" type="positiveInteger" /
<element name="species" type="positiveInteger" /
</sequence
</complexType
</element
</sequence
</complexType
</element
</schema



and I want to map species to a bunch of columns... however, I get the message: This element is aleady mapped, an element cannot be mapped more than once.

I read somewhere that you have to change the ancestor element... but I'm not sure what to do. Can anyone help?

Thanks!
  #2   Report Post  
Junior Member
 
Posts: 2
Default

I'm sorry, I don't think I've made myself clear... I've mapped my XML schema to XML Source... and I'm trying to map a child element to multiple cells.... in the Microsoft troubleshooting section, they say "Multiple repeating elements are mapped to the same XML list, and the repetition not defined by an ancestor element" - but I don't know how to fix that. Please... anyone?
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
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
Anyone know where I can get a basic market mapping template? Vientus Excel Discussion (Misc queries) 0 January 24th 05 10:39 PM
Mapping feature in Excel Sandi Rush Excel Discussion (Misc queries) 0 January 14th 05 10:20 PM
xy scatter graph with a scrolling time element Brad Charts and Charting in Excel 2 January 7th 05 01:53 PM


All times are GMT +1. The time now is 09:40 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"