Introduction to the XQuery Mapper
The XQuery Mapper supports XQuery 1.0. The older XQuery 2004 is also supported.
The XQuery Mapper includes the following views:
-
XQuery Mapper Graphical View
-
XQuery Mapper Source Editor
Note:
The XQuery Mapper graphical view is not supported for XQuery 2004 files. Only the source view is supported for this older XQuery version.
When you create a new XQuery file, it opens in the graphical view by default. The graphical view can also be accessed by clicking the XQuery Mapper tab at the bottom of the XQuery map.
Figure 42-1 shows the graphical view of the XQuery mapper.
The left pane of the XQuery Mapper includes the input sources or parameters for the XQuery function. If your XQuery file has multiple functions, you can choose the function to display using the toolbar over the mapper panes.
The right pane includes the target schema tree, which corresponds to the XQuery function's result type. The center pane helps you map the source and the target schema elements using XQuery functions.