[xsd-users] Xsd:list
Boris Kolpackov
boris at codesynthesis.com
Fri Jan 25 10:29:18 EST 2013
Hi Fred,
Kastner, Fred <fred.kastner at emc.com> writes:
> <xsd:complexType name="prof_t">
>
> [...]
>
> </xsd:complexType>
>
> I want to create a "list type" and I tried to use:
>
> <xsd:simpleType name="proflist_t">
> <xsd:list itemType="prof_t"/>
> </xsd:simpleType>
xsd:list is a space-separated list of itemType values. As a result
(per the XML Schema spec), you can only use simple types as the
list item types. Your prof_t is a complex type with nested elements,
etc.
Boris
More information about the xsd-users
mailing list