|
Home >Online Product Documentation >Table of Contents >Post-processing Result Documents Post-processing Result DocumentsYou can use a scenario's post-processing settings to specify that you want Stylus Studio to initiate processing on the result of applying a stylesheet. If you do, Stylus Studio performs the post-processing before it displays the result in the Preview window. Stylus Studio can postprocess the result of its built-in XSLT processor or an external XSLT processor. You can choose to run the Apache Software Organization's Formatting Objects Processor (FOP) as a postprocessor. You can run this on the result of stylesheets that generate XML documents that contain FO. The Apache FOP included with Stylus Studio converts FO XML into PDF and displays it in the Stylus Studio preview window. See Generating Formatting Objects. To specify post-processing:
1. Open the stylesheet whose result you want to process.
2. In the XSLT Editor (XSLT Source or Mapper tabs), in the scenario name field, click the down arrow and click the name of the scenario in which you want to specify post-processing.
3. Click Browse
4. Click the Post-process tab.
5. Click one of the following:
Post Process With Apache FOP if you want Stylus Studio to initiate the Apache FOP. You are done. Click OK. Custom Post-Process if you want Stylus Studio to initiate a postprocess you define. With this selection, you must also do the following:
a. In the Command line field, type the command line for starting your postprocessor. For example, mypostprocessor %1 %2. You can specify any application or script that takes as input the result document generated by an XSLT processor and generates a new file.
b. In the Generated File Extension field, type the extension on the file name of the postprocessor output. For example, .pdf.
c. In the Additional Path field, optionally type any paths that need to be defined that are not already defined in your PATH environment variable.
d. Click OK.
|
Electronics & Electrical Equipment
Many electronics and electrical equipment companies need the most powerful XML IDE to power up their companies. Come see which electronics & electrical equipment companies are wired up with Stylus Studio 2006.
Stylus Studio's Advanced XQuery Mapper Features
Learn how to create an advanced XQuery expression in the XQuery mapper, specifying operations, constants, and ports, for use in conditional blocks and FLWR expressions. Free online video demonstration!
XQuery Debugger
The Stylus Studio XQuery Debugger allows you to set breakpoints and step through the evaluation of any XQuery expression in a way that gives you complete control and visibility into the XQuery expression evaluation process.
Learn XSLT and XQuery Profiling
Stylus Studio's Profiler can help you evaluate the performance of your XQuery and XSLT. Automatically generated, customizable, easy-to-read HTML reports provide insight into performance bottlenecks.