[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [dita] DTD Formatting: Attribute list Alignment
If it weren't for incidentals and adornments, what would we ever talk about, Debbie? "...and we note our place with bookmarkers that measure what we've lost."
I happen to like the examples below, if only because the current DITA DTDs are already coded more or less to this standard, so its a shorter path to completion. A worthy goal, perhaps even an overriding one if I get volunteered for the job.
One issue I've had in a few places is how to handle the enumerated values that push the default values past the right alignment rule. Not a big problem in most places, but DITA's @importance is one good example.
The specialization design pattern for DTDs allows splitting attribute declarations, so you can define the element-specific attributes locally to the element declarations, and congregate the common and class definitions separately -- see the divided attlists in /dtd/task.mod, for example. In a fully resolved view of a DTD, such organizational artifacts would be lost, therefore I think it is also a goal to try to use the organization of the content to emphasize these otherwise subtle design characteristics where possible.
Some DTD parsers don't like the split (accumulative) attlists allowed by XML... WordPerfect in particular still emits an SGML message about the construct. But IMO this is not worth backing down from the learning opportunity (and easier maintenance) that the design pattern approach affords.
Regards,
--
Don Day <dond@us.ibm.com>
Chair, OASIS DITA Technical Committee
IBM Lead DITA Architect
11501 Burnet Rd., MS 9037D018, Austin TX 78758
Ph. 512-838-8550 (T/L 678-8550)
"Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?"
--T.S. Eliot
Deborah Aleyne Lapeyre <dalapeyre@mulberrytech.com>
08/24/2004 02:37 PM |
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]