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 403. 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 404. Tree View of XML Pipeline Output

Tip

 

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

XMLSCHEMA-DEV Blog

XML Schema-DEV is an active community for XML Schema-releated development - join the discussion on XML Schema standards, tools, implementations and more. Bookmark this RSS or ATOM feed today!

Canonicalize XML

Stylus Studio® features a handy XML canonicalizer among its many XML editing utilities, for quickly and easily converting any XML document into its canonical form (c14n), a widely-used W3C standard for normalizing XML files.

XML Schema Validation

Validate XML using XML Schema with MSXML, XERCES, XSV, SYSTEM.XML, & other XSD Validators. Stylus Studio's XML Schema-Aware XML Editing makes XML Schema Validation a snap!

XPath Query Editor

Stylus Studio's XML Editor has an XPath Query Editor that allows you to easily roubleshoot, test, and debug any XPath expression.

Stylus Most Wanted

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.