W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2002

Re: Default values...

From: <noah_mendelsohn@us.ibm.com>
Date: Sun, 10 Feb 2002 22:25:01 -0500
To: SysGrad@library.msstate.edu
Cc: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
Message-ID: <OFEC958BF3.E8B90F56-ON85256B5C.0082470E@lotus.com>
If the type of the element is a simple type with an enumeration, one can 
imagine building an editor that would key on the type definition to 
populate a list of legal values.  I don't know whether anyone has built 
such an editor,  but I believe it is possible in principle. 

Noah Mendelsohn                              Voice: 1-617-693-4036
IBM Corporation                                Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142

SysGrad <SysGrad@library.msstate.edu>
Sent by: www-xml-schema-comments-request@w3.org
02/08/2002 05:05 PM

        To:     "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
        Subject:        Default values...

I know that we can  have one dafault specified for any element in the XML 
file using DTD or  XML-schema. But can we specify a set of default values 
to one element.So that  when I open a an XML file in browser and that 
element is specified empty in  the XML file. But there are set of default 
values specifed in DTD or XML  -schemas, then those set of values should 
be displayed...
My Question is can  we give a set of default values?
Mahesh  Chaudhari
Received on Sunday, 10 February 2002 22:39:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:57 UTC