[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Is this premitted ?
- From: Dimiter Naydenov <bluelight@omega.bg>
- To: xml-dev@lists.xml.org
- Date: Mon, 02 Jul 2001 09:17:20 +0300
Hello,
Thanks for the info about MSXML4 and schema support. Now I would like to ask
something. I want to express the following model in a XML schema:
1. <tag attr="val">text</tag>
2. <tag>
<attr>complex val</attr>
text
</tag>
If there is the attribute "attr" (1), the child element <attr> must be
prohibited and vice versa (2).
Is there a way to conditionally set the "required" or "prohibited" options
for an attribute/child element, based on other element's presence/absence ?
I couldn't find any info if this is possible.
Dimiter Naydenov