Home >Online Product Documentation >Table of Contents >Adding an XQuery Node
Now that we understand how the XQuery code in createFullOrder.xquery uses a FLWOR expression to join data from our data sources, we can add it to our XML pipeline.
Stylus Studio creates an XQuery node and displays it in the XML pipeline diagram.
createFullOrder.xquery and drop it on either
The XQuery node now has two additional input ports, one named allBooks, and the other named ediOrder.
These input ports are colored green, indicating that each has a default value specified for it. These default values correspond to the two data sources we specified as source documents in the XQuery Mapper.
Tip
|
|
If you drop |
XQuery operator, to Extract full order information. (See Renaming Nodes if you need help with this step.)
XML pipelines reference external documents, like the createFullOrder.xquery document we just added. They do not create copies of these documents. Therefore, when changes to a source document are saved, the XML pipeline picks up these changes the next time it is executed.