← Prev in month ← Prev in thread

Imposing requiredness on the xsd element

From
Sudheshna Iyer <>
To
Date
2006-01-26T00:13:36Z
ID
<>
Thread
Imposing requiredness on the xsd element
Team,

Can we impose required field concept in xsd? I am looking for the exact 
equivalent of
<!ELEMENT note (to,from?,heading?,body?)>
<!ELEMENT to      (#PCDATA)>
<!ELEMENT from    (#PCDATA)>
<!ELEMENT heading (#PCDATA)>
<!ELEMENT body    (#PCDATA)>

Here "to" is the required element where as "From", "heading" and "Body" are 
optional fields. I don't want to make this requirement imposed on attribute 
in xsd, but I want this as element. How can I achieve this?

Thank you.

_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
← Prev in month ← Prev in thread