# pdf element

Type: | Document Structure
Attributes: | onload • class • colorspace • direction • id • lang
See: | body head pdfset

The pdf element is the top level element in the XML document.
Every document must have exactly one pdf element, which must be the top level tag. The pdf tag may contain a single head element, and must contain a single body element. The exception to this is when pdf is used inside a pdfset - in this case pdf has no children but requires a src attribute.

This simple example shows a complete document with information in the HEAD and BODY

    <pdf>
      <head>
        <meta name="author" value="Joe Bloggs"/>
      </head>
      <body>
        Document body here
      </body>
    </pdf>