Setting a Value for an Output Port

To quickly verify that our XML pipeline works as expected, we can create an output for the XQuery node's output port.

To set a value for an output port:
1. Click the output port.
2. Specify a value for the Copy To URL property ( myFullOrderSample.xml, for example).

The output port changes color, indicating that it has a value specified for it.

If we test the XML pipeline again, we can see that the XML pipeline runs to completion. Stylus Studio displays the Preview window, the Main tab of which displays an execution log that describes the processing steps executed in the XML pipeline.

Figure 407. XML Pipeline Execution Messages in Preview Window

Tip

 

If you click an entry in the execution log, Stylus Studio's back-mapping feature highlights node responsible for that processing step.

If we click the next tab in the Preview window, we can see the XML output by our XML pipeline in text view. If we click the Preview in Tree button ( ), we can verify that the XML document is of the structure we expect.

Figure 408. Tree View of XML Pipeline Output

Tip

 

You could also click the XQuery node's output port to display this tab.

 
Free Stylus Studio XML Training: