Skip to content

Extension org.gramar.base Tag setVariable

chrisgerken edited this page Sep 14, 2015 · 2 revisions

setVariable Tag

The setVariable tag Sets a context variable to the resolved value of an XPath expression.

  • node select - (required) An XPath expression
  • node var - (required) The name of a context variable to be associated with the resolved value of the XPath expression.

Usage and examples

Place a taglib element within <taglibs> element in the gramar.config file in the root of your gramar:

<taglibs>
    <taglib  prefix="c" extension="org.gramar.base" />
</taglibs>

Return to org.gramar.base

Clone this wiki locally