When a query is edited in the XQuery editor the XPath expressions can be composed
quickly with drag and drop actions from the Data Source Explorer view
to the editor panel.
-
Configure the data source to the relational database.
-
Configure the connection to the relational database.
-
Browse the connection in the Data Source Explorer view up to the
table or column that you want to insert in the query.
-
Drag the table name or the column name to the XQuery editor panel.
-
Drop the table name / column name where the XPath expression is needed.
An XPath expression that selects the dragged name will be inserted in the XQuery
document at caret position.