From: NK4 on
Can someone please help me define a complex data type that stores name-value
pair.

For a given [i]param name[/i], the value could be any one of the 4 possible
choices.

<xsd:complexType name="NameParameterValuePair">
<xsd:sequence>
[i]<xsd:element name="name" type="xsd:string"/>[/i]
[b]<xsd:choice minOccurs="0" maxOccurs="1">[/b]
<xsd:element name="stringValue" type="xsd:string"/>
<xsd:element name="booleanValue" type="xsd:boolean"/>
<xsd:element name="dateValue" type="xsd:dateTime"/>
<xsd:element name="numericValue"
type="messages:NumericValue"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>

 | 
Pages: 1
Prev: CFCHART Piechart numbers
Next: Web Service: