These elements contain text that is rendered before and after the contents of an element in the target document. If we have <x>bar</x> in the target document, and the doctype contains the rule
<self>Arboreal will display foobar in the ``rendered content'' mode.
<element name="x"/>
<render-before>foo</render-before>
</self>
In addition to text content, two elements are permitted within <render-before> and <render-after>. The empty <nl> element is a convenient way of rendering a newline (line break). The <attribute> element allows for the value of a named attribute to be rendered.
Example 1: The following rule renders a line break and the value of the n attribute, followed by a period and space, before the contents of an <l n="x"> element in the target document:
<self>
<element name="l"/>
<render-before><nl/><attribute name="n"/>. </render-before>
</self>