[
Lists Home |
Date Index |
Thread Index
]
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/
|