W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2003

Re: Enumerations inside elements with attributes

From: Naga Chendica <nchendica@certivo.net>
Date: Mon, 10 Nov 2003 12:49:25 -0800
Message-ID: <C3DAAC806B53614C864B3595468DC0EB206473@ushqxch01.certivo.net>
To: <xmlschema-dev@w3.org>


Reference to the link, 
I want to use enumerated values for the attribute source in the listed example, 
Is it possible?

<element name="fruit" xmlns="http://www.w3.org/2000/08/XMLSchema">
       <restriction base="string">
        <enumeration value="apple"/>
        <enumeration value="orange"/>
        <enumeration value="peach"/>
     <attribute name="source" type="string"/> --> I want to add enumerated values to the source like Canada, USA etc. is it possible.

Received on Monday, 10 November 2003 15:52:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC