dita-lightweight-dita — archive
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
— [Date Index]
| [Thread Index]
| [Month Index]
| [List Home]
More questions about @data-class attribute
Hi, Michael and others.
I have a few more questions about the @data-class attribute. I've put together a table and generated a PDF, which I'll attach. Here are my questions:
I assume that each HDITA element has an @data-class attribute, but only those elements where the value might be ambiguous must have them specified.
By "elements where the value of the @data-class attribute might be ambiguous," I mean components such as (XDITA) <keydef> and <keytext>, which are both represented in HDITA by <div> elements. If my above assumption is correct, won't we also need the equivalents of (XDITA) <data> and <prolog> to have explicit values for the @data-class attribute, since both are represented in HDITA by <meta> elements? I assume that components that are represented in HDITA by values of attributes on specific elements DO NOT have @data-class attributes. The relevant components here would be (XDITA) <alt> and <topicref>. For elements that have different tag names in XDITA and HDITA, what is the convention for the name of the @data-class attribute? For example, (XDITA) <fig> and (HDITA) <figure>. In addition to figures, this will apply to media source, media track, and topic.
Best,
Kris
Attachment:
component-comparison.pdf
Description: component-comparison.pdf
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
— [Date Index]
| [Thread Index]
| [Month Index]
| [List Home]