Validate Nodes

Validate nodes represent an XML Schema document used to validate XML piped to it from another node.

Figure 417. Validate Node in retrieveData.pipeline

You can create a Validate node by dragging an XML Schema document ( .xsd) and dropping it directly on the XML pipeline canvas, or you can drop an XML Schema document on an existing Validate node.

Using Multiple XML Schemas

A Validate node can represent multiple XML Schemas. You can add additional XML Schemas by simply dragging and dropping the XML Schema document ( .xsd) on the Validate node, or you can use the following procedure.

To add additional XML Schemas to a Validate node:
1. Display the Properties window if it is not already open ( View > Properties).
2. Click the Validate node in the XML pipeline diagram.

The properties for the validate node are displayed in the Properties window.

3. Click the XML Schemas field; click the more button ( ) when it appears.

The Select Multiple URLs dialog box appears.

Figure 418. Select Multiple URLs Dialog Box

4. Use the add button ( ) to display the Open dialog box, which you can then use to navigate to the XML Schema you want to add to the Validate node.
5. Click the OK button.

Input Port

The Validate node has a single input port that you use to specify the XML you want to be validated by the XML Schemas specified by the Validate node's XML Schemas property. You can specify a default value, or the value can be dynamic (the output from another node in the XML pipeline, for example).

Output Ports

Validate nodes have two output ports, named Output valid and Output invalid, which you use to direct the flow of the XML pipeline. Typically, the Output valid port is piped to another transformation in the XML pipeline, while the Output invalid port is piped to a node like Stop or Warning.

Convert DTD to XSD

learn how to convert DTD to XML Schema

Scientific, Photo & Control Equipment

Scientific, photo & control equipment companies hear clicks and beeps all day. But, when it comes to data integration it needs to be done in a flash, that's why they use Stylus Studio. Come see which top companies are seeing XML in a brand new light!

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.

Consumer Food Products

Want to know what special ingredient is in these consumer food product companies work enviornment? Well it's a touch Stylus Studio that give these consumer food product companies the extra edge they need for producing such high quality food products!

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.