[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
schemas: can I restrict an elem's content based on att value?
- From: Imran Rashid <firstname.lastname@example.org>
- To: email@example.com
- Date: Thu, 04 Jan 2001 17:10:58 -0600
sorry, another schema newbie question.
I've been scanning the Schema CR's, but I can't seem to find anythig
relating to this.
Can I restrict an element's content, based on one of its attributes?
say, <test/> could take numbers or strings.
could I have a "type" attribute, that coudl be either number or string, and
the contents type would have to be a numer or string respectively?