W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2002

Re: Anything

From: Eric Jain <Eric.Jain@isb-sib.ch>
Date: Tue, 10 Sep 2002 16:28:37 +0200
Message-ID: <003501c258d6$59e39d50$2fd721c0@caliente>
To: "Mikael Joukakelian" <mikaelj@cae.com>
Cc: <xmlschema-dev@w3.org>

> Is there a way for a schema to say that any element, attribute, and
> structure is allowed under a node?

You could try something like:

<xsd:element name="ForeignNode" mixed="true">
    <xsd:complexType>
        <xsd:sequence>
            <xsd:any minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
</xsd:element>


--
Eric Jain
Received on Tuesday, 10 September 2002 10:28:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:34 GMT