Creates a new scope for RXML variables. Variables can be changed
within the <scope> tag without having any effect outside it.
Attributes
- extend
-
Copy all variables from the outer scope.
Example
<set variable=foo value="World">
<scope>
<h1>Hello <insert variable=foo></h1>
<set variable=foo value="Duck">
</scope>
<scope extend>
<h1>Hello <insert variable=foo></h1>
</scope>
Hello
Hello World
|