"Ron Alexander" <Ralexander@musiciansfriend.com> writes: > Does xsd allow me to reuse an element? I need ShipInfo for an order > and also for an individual item. Say we have an item that is on > backorder, when it comes into stock we may ship it at a higher > priority than the rest of the order was shipped at. Sure, that's what <xs:element ref='ShipInfo'/> is for. Declare it at the top level, ref it from as many content models as you like. ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2002, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam]Received on Tuesday, 19 November 2002 16:31:48 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:35 GMT