Skip to content

Overview

Structured XML is a hierarchical Document Object Model (DOM) that represents the paginated view of a document. Most nodes have two distinct sections:

  • Where: Pixel Coordinates relative to the Page.

  • Why: Style Information used to calculate the coordinates.

Pixel coordinates are stored in a node with the attributes left, top, width, and height. All coordinates are stored relative to the page.

Style information is stored in a single style attribute. Its content is a semicolon (;) delimited list of name: value pairs. A style value can be one of the following data types:

Type Description
String Value is output “as is”, no encoding required.
Number Value is output “as is”, no encoding required.
Boolean 0 = false, 1 = true.
Rectangle Rect(left, top, right, bottom)
Margins Rect(left, top, right, bottom)
Borders (Style Width Color)
Color HTML format (#RRGGBB)