Re: Default values...

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>
        cc: 
        Subject:        Default values...



Hi,
 
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?
 
Bye
Mahesh  Chaudhari

Received on Sunday, 10 February 2002 22:39:00 UTC