[
Lists Home |
Date Index |
Thread Index
]
- To: "XML Developers List" <xml-dev@lists.xml.org>
- Subject: Is possible to have choice type facility for an attribute of schema
- From: "Baisak, Ranjan" <ranjan_baisak@mentorg.com>
- Date: Tue, 8 Mar 2005 12:48:31 +0530
- Thread-index: AcUjrwhOcOKRuKS0TwehKLYEmdQryw==
- Thread-topic: Is possible to have choice type facility for an attribute of schema
Like the way choice
is applied for an element, I want same type of functionality for attributes
too.
I want sort
of like below:
<xsd:element
name="name"> <xsd:complexType> <xsd:choice> <xsd:attribute
name="operator" type="OperatorType" default="EQUALS"
use="required"/> <xsd:attribute name="value"
type="xsd:string"
use="required"/> </xsd:choice> </xsd:complexType> </xsd:element>
regards,
Ranjan
|