Re: Correct XSD Syntax?



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.
.



Relevant Pages

  • Re: Correct XSD Syntax?
    ... Is it correct to refer to an XML element as a type, ... reference from line to line or must this type be ... An element declaration cannot be treated as a type ...
    (comp.text.xml)
  • Xml signature with XPath transform
    ... order to sign only a part of Xml element. ... For that I create a reference like this: ... Now when I compute the signature I get the following Xml: ... tag by another tag name but then the signature check ...
    (microsoft.public.dotnet.security)
  • Re: Performance issue with filestream.write on huge file
    ... converted to an XML element and outputed to a file. ... by the type array written which are not released by the GC. ... The caller, of course, still may have a reference and if so the bytewon't be eligible for garbage collection no matter what you do in that Writemethod. ...
    (microsoft.public.dotnet.framework)
  • Re: WSF Format Specification?
    ... Marks the descriptive text that appears when the user runs ShowUsageor runs the script with the /? ... Marks the beginning and the end of a job within a Windows Script file. ... XML element that is used in Windows Script component files and that defines objects that can be referenced by script. ... XML element that includes a reference to an external type library. ...
    (microsoft.public.scripting.wsh)