Adding a step to convert XML elements into document properties

You can add a step based on the ApplyXSLTransform step template to a workflow to convert XML elements and their attributes into Ricoh ProcessDirector document properties.

The PDF Document Support feature or AFP Support feature is required to work with document properties.

To add a step to convert XML elements into document properties:
  1. Evaluate the XML files that provide input to the process. Make sure that you understand what information the files contain and how the information is organized.
    If possible, ask the XML provider for the XML Schema Definition (XSD).
  2. To extract values for Ricoh ProcessDirector document properties, identify the XML elements and attributes that supply values for the properties.
  3. Use an XSLT tool (such as Altova MapForce) to create an XSLT style sheet.
    You can convert XML elements into document properties in a property conditions file or in other files.
  4. Click the Workflow tab.
  5. Right-click a workflow that you want to use as a model and select Copy.
  6. Name the copy of the workflow, fill in or edit other values that you need, and click Ok.
  7. Name the copy of the workflow, fill in or edit other values that you need, and click Continue.
  8. Review the steps that are included in the workflow and the default values that they set.
  9. Determine where in the workflow you want to convert the XML elements into document properties.
    If you want to convert XML elements into document properties in a property conditions file, place the ApplyXSLTransform step before the SetDocPropsFromConditions step that uses the file.
  10. Add the ApplyXSLTransform step to the workflow in the appropriate place and set values for the step properties:
    • For the XML input file property, specify the directory path and name of the XML file.
    • For the XSLT file property, specify the XSLT style sheet that you defined for the step.
    • For the Output file property, specify the directory path and name of the file that you want Ricoh ProcessDirector to create.
      For example, you want Ricoh ProcessDirector to create a DocPropConditions.csv file in the spool directory for the job. Specify ${getFileName(DocPropConditions,csv,write)}. For the Property conditions file property of the SetDocPropsFromConditions step, specify ${getFileName(DocPropConditions,csv,read)}.
  11. Save and enable the workflow.
 
Copyright © 2009, 2018