Announcement

Collapse
No announcement yet.

Alternative zu <all>

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Alternative zu <all>

    Hallo,
    ich möchte folgenden Typ definieren:

    <xsd:complexType name="laplaceType">
    <xsd:sequence>
    <xsd:element name="metadata" type="metadataType" minOccurs="0" maxOccurs="1"/>

    <xsd:all>
    <xsd:element name="information-file" type="information-fileType" minOccurs="0" maxOccurs="1"/>
    <xsd:element name="technical-help-file" type="information-fileType" minOccurs="0" maxOccurs="1"/>
    <xsd:element name="tools-file" type="information-fileType" minOccurs="0" maxOccurs="1"/>
    </xsd:all>


    <xsd:element name="procedure" type="procedureType" minOccurs="0" maxOccurs="unbounded"/>

    <xsd:element name="startup" type="startupType" />
    <xsd:element name="interaction" type="statementsType" />
    <xsd:element name="support" type="supportType"/>
    </xsd:sequence>
    </xsd:complexType>

    Leider funktioniert <xsd:all> nicht, wenn es nicht an oberster Stelle im ContentModel steht
    Hat vielleicht jemand eine Idee, wie ich das sonst ausdrücken könnte?
    Vielen Dank schonmal

    Moni
Working...
X