[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?
- From: "Arnold, Curt" <Curt.Arnold@hyprotech.com>
- To: 'Imran Rashid' <email@example.com>
- Date: Thu, 04 Jan 2001 16:14:19 -0700
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.