Home › Forums › DITA and XMetaL Discussion › Text indenting through DTD › Reply To: Text indenting through DTD
Reply to: Text indenting through DTD
December 17, 2008 at 2:30 amI try hard not to start arguing whether this is a good idea what you do.
You want to try something out to get DITA fitting your needs. You did either an attribute or element specialization.
a) In case of attribute you need to assign a value to the attribute. Example:
indented paragraph
A CSS would read
[indent=”yes”] { margin-left: 10pt; }
b) in case of a element (you should start your own domain for this, do not extend OASIS domains): example:
A CSS would read
[class~=” my-domain/indent “] { margin-left: 10pt; }
Please do not mix element and attribute in XML.
Preferred implementation would be an element that is semantically named like
The highlight domain with i/b/u is a bad example as it introduces format driven tags instead of semantic ones. It is accaptable to get people starting and to demo inline tags (tags within a paragraph).
Hope this helps.