XMLMill - convert xml to pdf with java. Generate PDF from xml/xsl.

XMLMill dtd Guide

Version: 3.00 Date: January 7th, 2008
This tutorial is opened in a separate window in order to maximize the legibility of this tutorial.
To return to XMLMill, close this browser window

This page as PDFPrinter friendly pageThis guide (!) as PDF

Introduction

This document gives an overview of all elements (tags) and their attributes.

If you have questions, please do not hesitate to send a mail to support@xmlmill.com.

  • This document is completely generated with XMLMill 3.00.

You can find the latest version of the xmlmill.dtd in the docs/dtd/ directory.

You can find the latest version of the xmlmill.xsd the docs/xsd directory.

Main structure

The main structure of a .mill document is as follows:

images/root-2.00.gif
Select to enlarge

The root element of a .mill document is the ml:documents element. Each .mill file can contain multiple ml:document entries, each representing a separate .pdf document to be generated. This allows you to generate more .pdf documents from within one .mill document.

Each ml:document can contain six main elements:

  1. ml:encryption (zero or 1 occurence)
  2. ml:viewerpreferences (zero or 1 occurence)
  3. ml:navigation (zero or 1 occurence)
  4. ml:meta-info (zero or 1 occurence)
  5. ml:layout-master-set (1 occurence)
  6. ml:page-sequence (1 or more occurences)

Only the ml:layout-master-set and the ml:page-sequence elements are required. All other tags are optional as they just define some extra features a .pdf document can have.

The ml:layout-master-set element defines <ml:simple-page-master> and/or <ml:page-sequence-master> elements which define the layout of a sequence of pages.

The ml:layout-master-set element is used to specify how to create a (sub-)sequence of pages within a document; for example, a chapter of a report.

The ml:page-sequence element contains a single ml:flow element and any ml:static-content elements describing the content of the page.

  • For a detailed explanation of all elements, please visit the corresponding section in this document.

Conventions

Rules to follow when defining XMLMill elements and attributes:

  • Attribute names must be in lower case.
  • Attribute values must be quoted.
  • The id attribute replaces the name attribute.
  • All elements (tags), attributes and values of attributes are always in lowercase.
  • Attributes are always between quotes ("").

In the chapters below following conventions are used:

  • 99 means a digital number to be used.
  • #999999 means a hexadecimal value to be used.
  • xxxx means a alphanumeric value to be used.
Copyright © 2001 - 2012. All rights reserved. XMLMill and XMLMill logo are trademarks of Pecunia Data Systems, bvba.
Powered by Apache CocoonPowered by XMLMill