[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: A generic approach to XML design versus a hardcodedapproac
On Fri, 2016-10-07 at 18:20 +0000, Costello, Roger L. wrote: > Hi Folks, > Compare these two designs for modeling an event occurring on March > 21, 2012: > <graduation date="2012-03-21"/> > <event type="graduation" date="2012-03-21"/> > The second design uses a "generic approach to XML design." I gave a talk on this at SGML '96, in which I called the attrbute-based approach (often akin to an informal "folksonomy") "suggestive markup"; I proposed a hybrid approach in which you start with more generic markup and add specialized elements as you gain a firmer understanding of what you need. The talk predated XML, XML Schema, Schematron and RNG, however, so that validation of attributes wasn't practical. Liam
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|