Autres

previous next

Equivalence entre éléments :


<xsd:element name="comment" 	type="string" />

<xsd:element name="shipComment" type="string" 
		substitutionGroup="ipo:comment" />

<xsd:element name="customerComment" type="string" 
		substitutionGroup="ipo:comment" />

Groupe d'éléments


<xsd:group name="shipAndBill">
	<xsd:sequence>
                <xsd:element name="shipTo" type="USAddress" />
                <xsd:element name="billTo" type="USAddress" />
        </xsd:sequence>
</xsd:group>

<xsd:group   ref="shipAndBill" />

Groupe d'attributs


<xsd:attributeGroup name="ItemDelivery">
              <xsd:attribute name="partNum" type="SKU"/>
              <xsd:attribute name="weightKg"  type="xsd:decimal"/>
</xsd:attributeGroup>

<xsd:attributeGroup ref="ItemDelivery"/>

 
 

XML/XML Schema    5/3/2004

58/86