2022.2

Table Of Contents
When XML data is merged with PlanetPress Design documents on a printer DOCTYPE and
ENTITY tags are ignored.
XML emulation options
l
Cache XML data: When this option is selected, PlanetPress Workflow Server only reloads the
data if the size or modified date of the XML file changes. When this option is not selected, the
XML data will be reloaded into memory every time that a plugin works on the data file. Caching
the XML data will make subsequent tasks run faster (as loading an XML file can take a long time)
but will also use up more memory since that memory isn't released in between tasks. For single
runs the performance gain is less noticeable than in loops (either through a splitter, a Loop task
or a Metadata filter) where the XML file would be loaded repeatedly.
For information about XML emulation options in PlanetPress Design documents, see the PlanetPress
Design user guide.
Sample Data
This topic covers issues relating to the sample data used in your PlanetPress Workflow configuration.
A sample data file makes it possible to:
l
Create a process that retrieves dynamic data from a data file. Once a sample data file is avail-
able, you can use it to make data selections in a process (see "Data selections" on page49).
l
Debug a process (see "Debugging your PlanetPress Workflow process" on page89).
Choosing a sample file sets the process's emulation to the chosen format (see "About data emulation"
on page54). The only other way to change a process's emulation is by inserting a "Change Emulation"
on page361 task in it.
Changing the emulation is particularly important if you want to make a data selection in a file after it has
been converted to another format or when the job file has changed (see "Data selections" on page49).
To interpret a sample data file correctly, a process must have the corresponding emulation setting.
Note: Even during debugging, selecting a sample data file with a different format will cause the
emulation of a process to change. In order to avoid errors, change the emulation back to the
format of the original input file before using the process again.
Choosing a sample data file
In order to create your PlanetPress Workflow process, the sample data you are going to use has to cor-
respond precisely to the job files that will be treated by that process, at least in terms of structure.
The sample data file should have a relatively small number of records (generally less than a hundred)
in order to be processed quickly, while your actual data may be much larger and take more time to
Page 63