File Processing
As mentioned previously, ePublisher Designer breaks up the transform process into a series of pipelines, or groups of similar stages. Each stage defines an .xsl file to be executed which creates a portion of the output target. ePublisher Designer uses a combination of the Format's Pipelines, the GlobalFiles record (, XSLT parameters and the root match template in a given XSL file to perform the action to be executed in a stage. These stages are defined in the format.wwfmt file located in each Format directory. The format.wwfmt file defines all of the pipelines and steps necessary to create a given output, and the relationships that each of these have to one another. There is no preconceived order in which pipelines fire; the ePublisher Designer engine calculates at run time the order in which each pipeline will fire, based on pipeline dependencies.
ePublisher Designer processes files based on type rather than by name. Each stage defines an .xsl file to be executed which creates a portion of the output target. All ePublisher Designer XSL stylesheets define four parameters by default. These are as follows:
GlobalFiles –
A project's
GlobalProject -
The project file (*.wep)
GlobalPipelineName -
The pipeline of the current stage.
GlobalInput -
The files selected in the Document Manager.
In addition, XSL stylesheets are passed all parameters defined for the current stage in format.wwfmt. Parameters passed to each XSLT file are usually used to load the various XML node sets needed for the current stage. For example, a stage may need to take information recorded in the Behaviors pipeline and merge it with information in the Links pipeline. The location of information generated in each stage is stored in the file. Future stages may consult to learn the location of previously generated information needed to complete that particular stage. Similarly, when that stage is complete, it will send notice to the file that the information it has created is available for future stages to use if necessary.
Was this helpful?
Last modified date: 08/16/2017