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.

Building DataDirect XQuery Applications

Stylus Studio further simplifies relational and XML data integration by providing advanced XQuery tools support for building XQuery applications which use DataDirect XQuery.

EDIFACT Sample Converted to XML

A sample EDIFACT document before and after conversion to XML, showing markup and full automatically-generated internal documentation.

Supported XML Technologies

Learning XML is easy with Stylus Studio, the only XML IDE to support all official W3C XML technologies! Learn more about Stylus Studio's tools and support for XML and related W3C technologies.

XQuery Talk Blog

Get the latest XQuery news and information at XQuery-Talk - an online community for discussing XQuery technologies, examples, implementations and more. Bookmark this RSS or ATOM feed now!

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member