W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2011

Re: Choice between complextContent and complexType

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Date: Thu, 16 Jun 2011 09:54:39 +0530
Message-ID: <BANLkTinRx4XC44Rv3OB3hdfpD94QbR453g@mail.gmail.com>
To: Karl Stubsjoen <kstubs@gmail.com>
Cc: xmlschema-dev@w3.org
I tried to implement the choice constraint you mentioned with XSD 1.1
type alternatives.

I'm not sure, if there's an XSD 1.0 solution for such a choice use case.

If the workaround you're suggesting suites your environment, please
feel free to use that.

On Thu, Jun 16, 2011 at 9:48 AM, Karl Stubsjoen <kstubs@gmail.com> wrote:
> Hi Mukul,
> I'm trying to stick with 1.0 standards.  If there is not a 1.0
> solution than I think I must define a new child element of
> description.  This is what I am doing now.
> Thanks,
> Karl..




-- 
Regards,
Mukul Gandhi
Received on Thursday, 16 June 2011 04:25:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 16 June 2011 04:25:30 GMT