1 Reply Latest reply: Jul 16, 2009 11:18 AM by Alexey Loubyansky RSS

How can I map an attribute to List of String

Thomas Diesler Master

The value of the 'depends-on' attribute is a space delimited list of strings

 * <xsd:complexType name="Tcomponent" abstract="true">
 * <xsd:attribute name="id" type="xsd:ID" />
 * <xsd:attribute name="activation" type="Tactivation">
 * <xsd:attribute name="depends-on" type="TdependsOn">
 * </xsd:complexType>
 *
 * <xsd:simpleType name="Tactivation">
 * <xsd:restriction base="xsd:NMTOKEN">
 * <xsd:enumeration value="eager" />
 * <xsd:enumeration value="lazy" />
 * </xsd:restriction>
 * </xsd:simpleType>
 *
 * <xsd:simpleType name="TdependsOn">
 * <xsd:restriction>
 * <xsd:simpleType>
 * <xsd:list itemType="Tidref" />
 * </xsd:simpleType>
 * <xsd:minLength value="1" />
 * </xsd:restriction>
 * </xsd:simpleType>