OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: schemas: can I restrict an elem's content based on att value?

In general, no, unless the attribute is "xsi:type" which would be appropriate for your example.

There may be some tricks that you could employ using <xsd:unique/> to accomplish some types of XPath based prohibition, but it would definitely be a kludge.