August 2002
Intermediate to advanced
688 pages
23h
English
<x:set>
The <x:set>
action
sets a scoped variable to the value of an XPath expression evaluation
result.
<x:set select="XPathExpression" var="var" [scope="page|request|session|application"] />
|
Attribute name |
Java type |
Dynamic value accepted |
Description |
|---|---|---|---|
select |
String |
No |
The XPath expression to evaluate. |
var |
String |
No |
The variable name. The type is the type of the expression evaluation, converted to the corresponding Java type. |
scope |
String |
No |
The variable scope. |
<x:set var="nodes" select="$doc//story/category[. = $param:selCat]/.." />
Read now
Unlock full access