<document> (Template Tag)


Description


The tag defines structure of a document.


Example


 <?xml version="1.0" encoding="utf-8"?>

 <assembly id="nxm.tests.basic.pl">

. . .

<define id="company_header">

  <content>

    <document>

    <header>

      . . .

    </header>

    <section width=”21.0” height=”29.7”>

      . . .

    </section>

    <section width=”29.7” height=”21.0”>

      . . .

    </section>

    <footer>

      . . .

    </footer>

    </document>

  </content>

</define>

. . .


 </assembly>


Attributes


style,


Child elements permitted



Child element

Description

header

Document Header. It can be printed once only.

Printing sequence:

header (once only)

section (one page or many pages)

footer (once only)

footer

The footer of the whole document is generated once, at the end of the document.

page-header


page-footer


section

This element defines the main section of document.

The section is a group of sheets of paper of the same width and height.

The <section> element divides the document into sections.



Parent elements permitted


<content>