[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using Wrapper Elements in Schemas - Any Best Practices?
mrossi@c... wrote: > As a pure matter of style, I'd also suggest not using the plural of > the element's names as the name of the container (<symptoms> in your > example). Then you have to say things like "symptoms contains symtpoms", > which isn't really what you mean. I'd go for something like <symptom_list> > myself. Or you end up saying things like "the 'symptoms' container element contains 'symptom' elements", which helps to difference data and information. (Is is a list or set anyway?) As a logical issue, if you are modelling a patient, I'd suggest there is a set of symptoms each member of which has its own duration, rather than many sets of symptoms, each set characterized by the duration of the symptoms within it. (though if you are classifying symptoms by their duration you would want the structure you devised) Pete Engineering modelling pedant
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|