W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2000

Re: how to define an element which can contain any attributes or elements

From: Michael Anderson <michael@research.canon.com.au>
Date: Thu, 07 Dec 2000 08:05:46 +1100
Message-ID: <3A2EAA2A.4B42D8E8@research.canon.com.au>
To: Michael.Burns@sas.com
Cc: xmlschema-dev@w3.org
Michael Burns wrote:

> I want to define an element called "Properties" so that it can have any attributes
> and any elements.

Someone correct me if I'm wrong, but what about:

<element name="Properties">
            <any minOccurs="0" maxOccurs="unbounded" />
        <anyAttribute />

Received on Wednesday, 6 December 2000 16:06:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:48 UTC