[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] XML schema: attribute constraint
- From: Eric van der Vlist <vdv@dyomedea.com>
- To: KRUMPOLEC Martin <krumpolec@asset.sk>
- Date: Fri, 26 Oct 2001 14:54:28 +0200
Hi,
KRUMPOLEC Martin wrote:
> Hello,
>
> I whould like to model something like this
>
> <message type=...>
> <!-- content is type dependant -->
> <message>
>
> Am I out of luck using just XML Schema 1.0 ?
Yes, except if you can use xsi:type instead of type (that's the purpose
of xsi:type)...
Hope this helps.
Eric
> (I know that Regax NG can this but XSD is required) ...
>
> Thank you
>
> Martin
>
>
--
Rendez-vous a` Paris pour le Forum XML.
http://www.technoforum.fr/Pages/forumXML01/index.html
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
http://xsltunit.org http://4xt.org http://examplotron.org
------------------------------------------------------------------------