Move Frame based on xml attributes
Overview
Use this rule to move a frame to a position defined by document XML attributes. A typical use case is adapting a template to different product table formats where the frame position is set by priint:planner document parameters.

How It Works
Reads the X and Y values in mm from the XML attributes named in gParam3 and gParam4. If either attribute is missing or empty, the rule exits without moving the frame.
In Absolute mode, moves the frame's reference point to the coordinates read from the XML attributes.
In Relative mode, adds the values to the frame's current position.
All values are interpreted as millimeters.
Reference
| # | Name | Type | Default | Description |
|---|---|---|---|---|
| 1 | Position | Dropdown | Absolute | Absolute: move to the given coordinates. Relative: offset from the current position |
| 2 | Reference Point | Dropdown | Top Left | Corner used for absolute positioning. Options: Top Left, Top Right, Bottom Left, Bottom Right |
| 3 | X | String | - | Name of the XML document attribute holding the X coordinate or X offset in mm |
| 4 | Y | String | - | Name of the XML document attribute holding the Y coordinate or Y offset in mm |