[Home] [By Thread] [By Date] [Recent Entries]

  • From: Wayne Steele <xmlmaster@h...>
  • To: Huylanp@O..., xml-dev@l...
  • Date: Mon, 15 Oct 2001 10:12:01 -0700


>From: Huy-Lan Phan <Huylanp@O...>
... I think only a complex element can have attributes ...

You are correct. Only a complex element can have attributes.

Making an attribute manditory is not hard - I forget the exact syntax, but 
it's something like

<xsd:attribute name="..." use="required" />

-Wayne Steele

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member