Re: Correct XSD Syntax?
- From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
- Date: Sat, 7 Mar 2009 22:15:18 -0800 (PST)
On Mar 3, 11:38 pm, PeteOlcott <PeteOlc...@xxxxxxxxx> wrote:
(1) <complexType name="ScriptQueueItem">
(2) <element name="ScriptQueueItem">
(3) <element name="scriptQueue" type="sq:ScriptQueueItem"
minOccurs="1" maxOccurs="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.
.
- Follow-Ups:
- Re: Correct XSD Syntax?
- From: Peter Olcott
- Re: Correct XSD Syntax?
- References:
- Correct XSD Syntax?
- From: PeteOlcott
- Correct XSD Syntax?
- Prev by Date: Re: Preformatting RFC 822 using XSLT 1.0
- Next by Date: Re: Correct XSD Syntax?
- Previous by thread: Correct XSD Syntax?
- Next by thread: Re: Correct XSD Syntax?
- Index(es):
Relevant Pages
|