Can you do a one-line substitution group like that, or is that assuming I have all the typing below… ‘Cause if I can, that’s pretty cool. tc "A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away." -Antoine de Saint-Exupery
From: Chris Simmons [mailto:cps@corefiling.com] On 11/10/11 15:29, Toby Considine wrote: I have a question of Style and Substance in XSD I have a number of top-level elements that are variants of one another. Each of these appears in multiple Types (worthy of top-lelvelness). Let’s say we have uid as a simple base type. <xs:element name="uid" type="UidType"/> <xs:simpleType name="UidType"> <xs:annotation> <xs:documentation>Unique Identifier</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"/> </xs:simpleType> To dirty the waters further, you forgot option C:- |