integer and empty element

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