close

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

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()