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

Re: Query

From: by way of <smitha@WSSPL.com>
Date: Tue, 14 May 2002 18:34:27 -0700
Message-Id: <5.1.0.14.1.20020514183423.02aa14c0@localhost>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Hi,
I read the query and the Response. Actually I have also started with XML.
After I specify default in schema. How is it used in xml.
i.e
< schema ----------
..............>
< xs: element name="item1" type="xs:string" >
< xs:element name="item2" type="xs:string" default="hello">
-----------
</schema>

Now in xml
<root>
<item1> hi there</item1>
?what to do for item2.
</root?

I hope I have clearly explained my question.
Thx
Smitha
Received on Wednesday, 15 May 2002 00:40:26 GMT

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