Integration Server 10.3 | Dynamic Server Pages and Output Templates Developer's Guide | Using Dynamic Server Pages (DSPs) | Using the DSP Tags | Why Does Scope Matter? | Referencing Variables In and Out of Scope
 
Referencing Variables In and Out of Scope
You can refer to variables that are in the current scope directly—without any qualifiers. To reference a variable that is out of scope, you must use the following directory-like notation to describe its position relative to either the current scope or the initial scope.
Use this notation...
To...
variableName
Reference a variable in the current scope. For example: shipNum.
../variableName
Reference a variable one or more levels above the current scope. For example:
../oNum
One level above
../ ../oNum
Two levels above
/variableName
Reference a variable in the initial scope. For example: /oNum.
recName/variableName
Reference a variable within a specific document. For example:
buyerInfo/state
Selects the state element from the document buyerInfo in the current scope
../buyerInfo/oNum
Selects the state element from the document buyerInfo one level above current scope