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

RE: Anything

From: Mikael Joukakelian <mikaelj@cae.com>
Date: Tue, 10 Sep 2002 10:59:14 -0400
Message-ID: <719A38AB7279D511B91900D0B7444A9E02611714@caemsx03.cae.ca>
To: "'Eric Jain'" <Eric.Jain@isb-sib.ch>
Cc: xmlschema-dev@w3.org

This does not work. With mixed="true" "character data can appear alongside
subelements". However, I am still forced to define all the subelements.  

-----Original Message-----
From: Eric Jain [mailto:Eric.Jain@isb-sib.ch]
Sent: Tuesday, September 10, 2002 10:29 AM
To: Mikael Joukakelian
Cc: xmlschema-dev@w3.org
Subject: Re: Anything

> 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:any minOccurs="0" maxOccurs="unbounded"/>

Eric Jain
Received on Tuesday, 10 September 2002 11:01:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:58 UTC