Javatpoint Logo
Javatpoint Logo

JSTL XML <x:set> Tag

The <x:set> tag is used to set a variable with the value of an XPath expression. It is used to store the result of xml path expression in a scoped variable.

The syntax used for including the <x:set> tag is:

Let's see the simple example to understand the xml <x:set > tag is:

Output:

Books Information:

The price of the Tomorrow land book: 2000

JSTL XML Tags3




Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA