${valueOf()}
Returns the textual value of the specified XPath expression when evaluated against the specified node.
| Name | XPath | Description | Reagent Type | Expected Type | Required |
|---|---|---|---|---|---|
| CACHE | @cache | A shared Map to cache items in. The default is the value of the 'Attributes.CACHE' request attribute. | PHRASE | java.util.Map | No |
| CACHE_MODEL | @cache-model | Specify either NONE, ONE, or ALL. | PHRASE | java.lang.String | No |
| NODE | @source | Optional source node against which the EXPRESSION will be evaluated. If not provided, the value of the 'Attributes.NODE' request attribute will be used. | PHRASE | org.dom4j.Node | No |
| EXPRESSION | descendant-or-self::text() | An XPath expression that describes a node. | PHRASE | java.lang.String | Yes |
Parses a document from the resource at 'properties/db/data.xml', creates a node list from the expression '//table/name', and writes the text value of each node to System.out:
${valueOf(.)}