
|
A style is a collection of commonly used attributes that can be used in association with structural mark-up to apply visual formatting to a document. This means that the content of a document, or a collection of documents, can be separated from the presentation. This has a number of advantages:
Re:ality XML supports both stand-alone styles and inheritable styles. Stand-alone styles define every thing that will be used in one style sheet; where as inherited style references another style sheet for their information. Style sheet inheritance is singular, with each style sheet having the ability to use the inherited values or to specify new values for the inherited values (over ride). The re:styles element groups re:style information. XML Tag
<re:styles>
...
</re:styles>
DTD<!ELEMENT re:styles (re:style)> Reference examplesChildrenre:stylesheet AttributesNone Style PropertiesNone |