[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] Help regarding an XML attribute.
- From: Ronald Bourret <rpbourret@rpbourret.com>
- To: Wayne Steele <xmlmaster@hotmail.com>, Huylanp@Oceanwide.com,xml-dev@lists.xml.org
- Date: Mon, 15 Oct 2001 16:25:00 -0700
One mistake here:
> <complexType>
> <simpleContent>
> <restriction base="xsd:string" />
> </simpleContent>
> <attribute>...</attribute>
> ...
> </complexType>
should be:
<complexType>
<simpleContent>
<restriction base="xsd:string" />
<attribute>...</attribute>
...
</restriction>
</simpleContent>
</complexType>
That is, the attribute definitions must be inside the restriction. Got
to learn how to read specs ...
-- Ron
Ronald Bourret wrote:
> <complexType>
> <simpleContent>
> <restriction base="xsd:string" />
> </simpleContent>
> <attribute>...</attribute>
> ...
> </complexType>
>
> -- Ron
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
--
Ronald Bourret
Programming, Writing, and Training
XML, Databases, and Schemas
http://www.rpbourret.com