WAS v8.5 > Develop applications > XML applications > Use the XML API to perform operations > Use external variables and functions > Use external variables

Use external variables with XPath

When using an XPath expression that uses external variables, supply (or bind) values for each variable using an XDynamicContext instance and optionally declare the types of the variables using an XStaticContext instance.


Related concepts:

The XFactory class


Related


Use static and dynamic contexts
Use sequence types
Map XML types to Java types
Navigating with XSequenceCursor
Navigating with XTreeCursor
Create items and sequences
Create items and sequences using the XItemFactory


+

Search Tips   |   Advanced Search