|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML schema: attribute constraint
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
------------------------------------------------------------------------
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








