Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Correct XSD Syntax? >Thread Next - Re: Correct XSD Syntax? Re: Correct XSD Syntax?To: NULL Date: 3/7/2009 10:15:00 PM On Mar 3, 11:38=A0pm, PeteOlcott <PeteOlc...@gmail.com> wrote: > (1) =A0<complexType name=3D"ScriptQueueItem"> > (2) =A0<element name=3D"ScriptQueueItem"> > (3) =A0<element name=3D"scriptQueue" type=3D"sq:ScriptQueueItem" > minOccurs=3D"1" maxOccurs=3D"unbounded"/> > > Is it correct to refer to an XML element as a type, such as the > reference from line (3) to line (2) or must this type be specified as > a type such as the reference from line (3) to line (1)? An element declaration cannot be treated as a type declaration. They are different things, and one cannot be interchanged for the other. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
