To edit an existing XPath expression using the Properties window
-
If the Properties window is not visible, select Window > Properties from the Oracle JDeveloper menu bar.
The default location of the Properties window is below the XSLT Map Editor.
-
Click to select the line representing the source to target mapping. The Properties window shows the XPath expression corresponding to the selected map line.
-
Edit the XPath Expression, as needed.
For example, if you want the Description field to contain the first Comment that occurs in the source, you add a predicate to the expression with the index of the first Comment.
Click the Help icon in the Properties window, if you need more information on editing the XPath expression.
-
To update the XSLT with the changes, click the Apply Changes icon in the upper left corner of the Properties window. Alternatively, click anywhere in the XSLT Map Editor.