W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2001

Re: Query

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 17 Apr 2001 05:53:48 +0100
To: Harry Sidhu <gurjas_sidhu@yahoo.com>
Cc: www-xml-schema-comments@w3.org
Message-ID: <f5bzodgunxf.fsf@cogsci.ed.ac.uk>
Harry Sidhu <gurjas_sidhu@yahoo.com> writes:

> Just started playing with XML schema.. How do i
> specify a default value.. for an element. 

<xs:element name="size" type="xs:token" default="large"/>

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Tuesday, 17 April 2001 00:53:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:50 GMT