OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] Help regarding an XML attribute.

>From: Huy-Lan Phan <Huylanp@Oceanwide.com>
... 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