
|
Layers are the building block for re:ality XML all content is contained within a layer. Layers usually are invisible areas that define a small bounding area inside of a page. XML Tag<re:layer class='' style='' id=''> ... </re:layer> DTD<!ELEMENT re:layer ( #PCDATA | re:span | re:layer | re:tab | re:break | re:cbreak | re:paragraph | re:image | re:table | re:rectangle | re:ellipse | re:line | re:chart | re:transform )*> <!ATTLIST re:layer %class; %style; id CDATA #IMPLIED > Reference Examples010_020 , 020_010 , 030_010 , 030_020 , 050_010 Childrenre:span, re:layer, re:tab, re:break, re:cbreak, re:paragraph, re:image, re:table, re:rectangle, re:ellipse, re:line, re:chart, re:transform Attributesclass, style, id Style PropertiesidThe id attribute specifies a named_reference for this layer. The id value acts as a reference to this layer, which can be used by other layers to link two or more layers together. classThe class attribute specifies a named_reference to the style sheet that should be applied to the element. Only one style can be called and applied to one element. styleA style attribute specifies a collection of properties for inline styling. This can be used in combination with a class attribute so that a style sheet can be called but some of the properties (of the style sheet) are over-ridden. |