[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: "Bullard, Claude L (Len)" <clbullar@ingr.com>
- To: Imran Rashid <imranr@wolfram.com>
- Date: Fri, 05 Jan 2001 13:30:40 -0600
Do that in the schema.
Reread the XML Schema Primer carefully and look
at the Purchase Order schema.
2.0 Basic Concepts
"ELements that contain subelements or carry
attributes are said to have complex types, whereas
elements that contain numbers (and strings, and dates, etc)
but do not contain any submelements are said to
have simple types. Some elements have attributes;
attributes always have simple types."
Len
http://www.mp3.com/LenBullard
Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h