[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Schema Design: no local elements with anonymous types
On 26/03/2008, Costello, Roger L. <costello@m...> wrote: > Example: Now NumPages is GOOD because it is globally declared and has a > named type. > > <element name="Book"> > <complexType> > <sequence> > <element ref="bk:NumPages"/> > </sequence> > </complexType> > </element> I think you mean: <element name="Book" type="Book"/> <complexType name="Book"> <sequence> <element ref="bk:NumPages"/> </sequence> </complexType> ...to expose the Book type. cheers -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|