I'm trying to map a single XML element to multiple columns in a list in Excel
and I'm having a bit of trouble.
The relevant part of my mapped schema:
lt;xs:complexType name=quot;conflictTypequot;gt;
lt;xs:attribute name=quot;idquot; type=quot;xs:stringquot; use=quot;requiredquot;/gt;
lt;xs:sequencegt;
lt;xs:element ref=quot;namequot;/gt;
lt;xs:element ref=quot;descriptionquot;/gt;
lt;xs:element name=quot;entityquot; type=quot;entityTypequot; minOccurs=quot;2quot; maxOccurs=quot;2quot;/gt;
lt;/xs:sequencegt;
lt;/xs:complexTypegt;
lt;xs:complexType name=quot;entityTypequot;gt;
lt;xs:attribute name=quot;idquot; type=quot;xs:intquot; use=quot;requiredquot;/gt;
lt;xs:attribute name=quot;refidquot; type=quot;xs:stringquot; use=quot;requiredquot;/gt;
lt;/xs:complexTypegt;
The sequence shows up as a list but the entity element which has a minOccurs
of 2 only appears once in the list. Is there a way to have it appear twice?
Thanks,
Ken
- Jul 16 Mon 2007 20:38
How to map multiple occurences of xml element in a sequence to Exc
close
全站熱搜
留言列表
發表留言