- From: <kim.weit@swipnet.se>
- Date: Wed, 12 Feb 2003 15:12:17 +0100
- To: xmlschema-dev@w3.org
I am thinking about using XML Schema instead of a DTD. I have a simple elementary question about the structure of a XML Schema. Is it possible to attach different required attributes to the same element depending on where this element is cituated in the structure? For example, could the element title have different required attributes if it is a child to the element book or to chapter like in this example: <book> <title language="eng">Robinson Crusoe</title> <chapter> <title number="1">The Life And Adventures Of Robinson Crusoe </title> </chapter </book> I really hope someone could help me with this question. Thanks in advance! Mr Kim Weit Swipnet.se Sweden ------------------------------------------------- WebMail från Tele2 http://www.tele2.se -------------------------------------------------
Received on Wednesday, 12 February 2003 09:12:58 UTC