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

integer and empty element

From: Hanna <lhnhanna@hotmail.com>
Date: Wed, 18 Dec 2002 06:52:51 -0700
Message-Id: <>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
I am new to xml schema. I would like to ask how i can define a data type 
which is integer but can allow empty element.
e.g. <B>6</B> , <B/> are both allowed.
if B contains integer value, then schema validates it.
if B is an empty element, the schema will let it go.
Received on Wednesday, 18 December 2002 08:53:44 UTC

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